equal
deleted
inserted
replaced
112 if (readyForAction()) { |
112 if (readyForAction()) { |
113 var selection = getSelectionInfo() ; |
113 var selection = getSelectionInfo() ; |
114 if (selection != null) { |
114 if (selection != null) { |
115 updateICommentFormSelection(selection) ; |
115 updateICommentFormSelection(selection) ; |
116 if (gEditICommentHost != null) { |
116 if (gEditICommentHost != null) { |
117 var modifyScope = CY.one("#"+gEdit['ids']['changeScopeInputId']+" input").get('checked') ; |
117 var modifyScope = CY.get("#"+gEdit['ids']['changeScopeInputId']+" input").get('checked') ; |
118 if (modifyScope) { |
118 if (modifyScope) { |
119 gEditICommentHost.scrollIntoView() ; |
119 gEditICommentHost.scrollIntoView() ; |
120 } |
120 } |
121 } |
121 } |
122 } |
122 } |
235 }, { |
235 }, { |
236 fn : function() { |
236 fn : function() { |
237 |
237 |
238 gGETValues = CY.JSON.parse(sv_get_params); |
238 gGETValues = CY.JSON.parse(sv_get_params); |
239 |
239 |
240 CY.one('#maincontainer').setStyle('display', 'block'); |
240 CY.get('#maincontainer').setStyle('display', 'block'); |
241 CY.one('#textcontainer').setStyle('display', 'block'); |
241 CY.get('#textcontainer').setStyle('display', 'block'); |
242 |
242 |
243 var val = (sv_withComments) ? gPrefs.get('layout','comments_col_width') : 0 ; |
243 var val = (sv_withComments) ? gPrefs.get('layout','comments_col_width') : 0 ; |
244 var colWidth = sliderValToPx(val) ; |
244 var colWidth = sliderValToPx(val) ; |
245 gLayout.setLeftColumnWidth(colWidth) ; |
245 gLayout.setLeftColumnWidth(colWidth) ; |
246 |
246 |