Browse Source

모바일 좌측메뉴 오류 수정

juney 2 years ago
parent
commit
23513cd0c1

+ 0 - 1
src/main/webapp/mobile/js/app/mcollmng/ITP_MCOLLMNG01010.js

@@ -67,7 +67,6 @@ let mobPageObj = {
67 67
 				return false;
68 68
 			});
69 69
 
70
-			$(document).off('click');
71 70
 			$(document).on('click', '#ITP_LIST_MCOLLMNG01010_LIST_ITEM_ROWS li', function() {
72 71
 				var item = mobContentObj.list.rows[$(this).index()];
73 72
 				mobContentObj.view.init(item);

+ 0 - 1
src/main/webapp/mobile/js/app/mcollmng/ITP_MCOLLMNG02010.js

@@ -70,7 +70,6 @@ let mobPageObj = {
70 70
 				return false;
71 71
 			});
72 72
 
73
-			$(document).off('click');
74 73
 			// $(document).on('click', '#ITP_LIST_MCOLLMNG02010_LIST_ITEM_ROWS li button', function() {
75 74
 			// 	var item = mobContentObj.list.rows[$(this).index()];
76 75
 			// 	mobContentObj.view.init(item);

+ 0 - 1
src/main/webapp/mobile/js/app/mcollmng/ITP_MCOLLMNG03010.js

@@ -69,7 +69,6 @@ let mobPageObj = {
69 69
 				return false;
70 70
 			});
71 71
 
72
-			$(document).off('click');
73 72
 			// $(document).on('click', '#ITP_LIST_MCOLLMNG03010_LIST_ITEM_ROWS li', function() {
74 73
 			// 	mobContentObj.list.iChoice = $(this).index();
75 74
 			// });

+ 0 - 1
src/main/webapp/mobile/js/app/mloanmng/ITP_MLOANMNG01010.js

@@ -63,7 +63,6 @@ let mobPageObj = {
63 63
 				return false;
64 64
 			});
65 65
 
66
-			$(document).off('click');
67 66
 			$(document).on('click', '#ITP_LIST_MLOANMNG01010_LIST_ITEM_ROWS li', function() {
68 67
 				var item = mobContentObj.list.rows[$(this).index()];
69 68
 				mobContentObj.view.init(item);

+ 0 - 1
src/main/webapp/mobile/js/app/mloanmng/ITP_MLOANMNG02010.js

@@ -98,7 +98,6 @@ let mobPageObj = {
98 98
 				}
99 99
 			});
100 100
 
101
-			$(document).off('click');
102 101
 			$(document).on('click', '#ITP_LIST_MLOANMNG02010_LIST_ITEM_ROWS li', function(e) {
103 102
 				var index = $(this).index();
104 103
 				if($(e.target).hasClass('AGR')) {

+ 0 - 1
src/main/webapp/mobile/js/app/mloanmng/ITP_MLOANMNG03010.js

@@ -101,7 +101,6 @@ let mobPageObj = {
101 101
 				);
102 102
 			});
103 103
 
104
-			$(document).off('click');
105 104
 			$(document).on('click', '#ITP_LIST_MLOANMNG03010_LIST_ITEM_ROWS li', function() {
106 105
 				var item = mobContentObj.list.rows[$(this).index()];
107 106
 				mobContentObj.view.init(item);

+ 1 - 4
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG02010.js

@@ -111,15 +111,12 @@ let mobPageObj = {
111 111
 				$('#ITP_FORM_MPOMNG02010_LIST_SEARCH #ITP_FORM_MPOMNG02010_LIST_SEARCH_WHS_ID').attr('disabled', true);
112 112
 			}
113 113
 			this.moreView(true);
114
-			// CommonObj.moreView('#ITP_LIST_MPOMNG02010_ITEM_AREA', true, mobContentObj.list.load);
115 114
 		} else if(mode === VIEW_MODE_DETAIL) {
116 115
 			$('#ITP_AJAX_MPOMNG02010_VIEW_CONTAINER').show();
117 116
 			this.moreView(false);
118
-			// CommonObj.moreView('#ITP_LIST_MPOMNG02010_ITEM_AREA', false);
119 117
 		} else if(mode === VIEW_MODE_MODIFY) {
120 118
 			$('#ITP_AJAX_MPOMNG02010_MODIFY_CONTAINER').show();
121 119
 			this.moreView(false);
122
-			// CommonObj.moreView('#ITP_LIST_MPOMNG02010_ITEM_AREA', false);
123 120
 		}
124 121
 		this.viewMode = mode;
125 122
 	},
@@ -193,7 +190,7 @@ let mobContentObj = {
193 190
 		},
194 191
 		action: function () {
195 192
 			var _this = this;
196
-			$(document).off('click');
193
+			$(document).off('click', '#ITP_LIST_MPOMNG02010_ITEM_ROWS li');
197 194
 			$(document).on('click', '#ITP_LIST_MPOMNG02010_ITEM_ROWS li', function() {
198 195
 				var index = $(this).index();
199 196
 				var item = _this.rows[index];

+ 0 - 1
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG04010.js

@@ -68,7 +68,6 @@ let mobPageObj = {
68 68
 				return false;
69 69
 			});
70 70
 
71
-			$(document).off('click');
72 71
 			$(document).on('click', '#ITP_LIST_MPOMNG04010_LIST_ITEM_ROWS li', function() {
73 72
 				var item = mobContentObj.list.rows[$(this).index()];
74 73
 				mobContentObj.view.init(item);

+ 0 - 1
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG05010.js

@@ -61,7 +61,6 @@ let mobPageObj = {
61 61
 				return false;
62 62
 			});
63 63
 
64
-			$(document).off('click');
65 64
 			$(document).on('click', '#ITP_LIST_MPOMNG05010_LIST_ITEM_ROWS li', function() {
66 65
 				var item = mobContentObj.list.rows[$(this).index()];
67 66
 				mobContentObj.view.init(item);

+ 0 - 1
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG06010.js

@@ -62,7 +62,6 @@ let mobPageObj = {
62 62
 				return false;
63 63
 			});
64 64
 
65
-			$(document).off('click');
66 65
 			$(document).on('click', '#ITP_POP_MPOMNG06010_LIST_SPPLY_ROWS li button', function() {
67 66
 				mobPopObj.popSpply.choice($(this));
68 67
 			});

+ 0 - 1
src/main/webapp/mobile/js/app/mpomng/ITP_MPOMNG07010.js

@@ -61,7 +61,6 @@ let mobPageObj = {
61 61
 				return false;
62 62
 			});
63 63
 
64
-			$(document).off('click');
65 64
 			$(document).on('click', '#ITP_LIST_MPOMNG07010_LIST_ITEM_ROWS li', function() {
66 65
 				var item = mobContentObj.list.rows[$(this).index()];
67 66
 				mobContentObj.view.init(item);

+ 0 - 1
src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG01010.js

@@ -66,7 +66,6 @@ let mobPageObj = {
66 66
 				return false;
67 67
 			});
68 68
 
69
-			$(document).off('click');
70 69
 			$(document).on('click', '#ITP_LIST_MRTNMNG01010_POP_WHS_ROWS li button', function() {
71 70
 				mobPopObj.popWhsNm.choice($(this));
72 71
 			});

+ 0 - 1
src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG02010.js

@@ -89,7 +89,6 @@ let mobPageObj = {
89 89
 				return false;
90 90
 			});
91 91
 
92
-			$(document).off('click');
93 92
 			$(document).on('click', '#ITP_LIST_MRTNMNG02010_LIST_ROWS li', function() {
94 93
 				var index = $(this).index();
95 94
 				var item = mobContentObj.list.rows[index];

+ 0 - 1
src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG04010.js

@@ -72,7 +72,6 @@ let mobPageObj = {
72 72
 				return false;
73 73
 			});
74 74
 
75
-			$(document).off('click');
76 75
 			$(document).on('click', '#ITP_LIST_MRTNMNG04010_LIST_ITEM_ROWS li', function() {
77 76
 				var item = mobContentObj.list.rows[$(this).index()];
78 77
 				mobContentObj.view.init(item);

+ 0 - 1
src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG05010.js

@@ -61,7 +61,6 @@ let mobPageObj = {
61 61
 				return false;
62 62
 			});
63 63
 
64
-			$(document).off('click');
65 64
 			$(document).on('click', '#ITP_LIST_MRTNMNG05010_POP_WHS_ROWS li button', function() {
66 65
 				mobPopObj.popWhsNm.choice($(this));
67 66
 			});

+ 0 - 1
src/main/webapp/mobile/js/app/mrtnmng/ITP_MRTNMNG06010.js

@@ -61,7 +61,6 @@ let mobPageObj = {
61 61
 				return false;
62 62
 			});
63 63
 
64
-			$(document).off('click');
65 64
 			$(document).on('click', '#ITP_LIST_MRTNMNG06010_LIST_ITEM_ROWS li', function() {
66 65
 				var item = mobContentObj.list.rows[$(this).index()];
67 66
 				mobContentObj.view.init(item);

+ 0 - 1
src/main/webapp/mobile/js/app/mstockmng/ITP_MSTOCKMNG01010.js

@@ -65,7 +65,6 @@ let mobPageObj = {
65 65
 				mobContentObj.list.locationList();
66 66
 			});
67 67
 
68
-			$(document).off('click');
69 68
 			$(document).on('click', '#ITP_LIST_MSTOCKMNG01010_LIST_ITEM_ROWS li', function() {
70 69
 				var item = mobContentObj.list.rows[$(this).index()];
71 70
 				mobContentObj.list.choice(item);

+ 1 - 1
src/main/webapp/mobile/js/app/mstockmng/ITP_MSTOCKMNG02010.js

@@ -63,7 +63,7 @@ let mobPageObj = {
63 63
 				return false;
64 64
 			});
65 65
 
66
-			$(document).off('click');
66
+			$(document).off('click', '#ITP_LIST_MSTOCKMNG02010_LIST_ITEM_ROWS li button');
67 67
 			$(document).on('click', '#ITP_LIST_MSTOCKMNG02010_LIST_ITEM_ROWS li button', function() {
68 68
 				if($(this).hasClass('DETAIL_ITEM_PLUS')) {
69 69
 					mobContentObj.list.actPlus($(this));

+ 1 - 2
src/main/webapp/mobile/js/config.js

@@ -160,12 +160,11 @@ var fn_make_user_info = {
160 160
 
161 161
 var fn_make_slide_menu = {
162 162
 	init: function() {
163
-		$('.itp_open_nav .panel-group').empty();
163
+		$('#ITP_SIDEBAR .panel-group').empty();
164 164
 		this.make();
165 165
 	},
166 166
 	make: function() {
167 167
 		var selector = '#ITP_SIDEBAR .panel-group > .panel-default:last';
168
-		$('#ITP_SIDEBAR .panel-group').empty();
169 168
 		$.each(AUTH_MENU_LIST, function(key, value) {
170 169
 			if(value.level === 2) { // LEVEL2
171 170
 				$('#ITP_SIDEBAR .panel-group').append($('#ITP_AJAX_MAIN_SIDE_LEVEL2_ROWCOPY').val());