##// END OF EJS Templates
use ===/!== instead of ==/!= in application.js (#13811)...
Toshi MARUYAMA -
r11499:b31d1329ca5b
parent child
Show More
@@ -19,7 +19,7 function toggleCheckboxesBySelector(selector) {
19
19
20 function showAndScrollTo(id, focus) {
20 function showAndScrollTo(id, focus) {
21 $('#'+id).show();
21 $('#'+id).show();
22 if (focus!=null) {
22 if (focus !== null) {
23 $('#'+focus).focus();
23 $('#'+focus).focus();
24 }
24 }
25 $('html, body').animate({scrollTop: $('#'+id).offset().top}, 100);
25 $('html, body').animate({scrollTop: $('#'+id).offset().top}, 100);
@@ -352,7 +352,7 function setPredecessorFieldsVisibility() {
352
352
353 function showModal(id, width) {
353 function showModal(id, width) {
354 var el = $('#'+id).first();
354 var el = $('#'+id).first();
355 if (el.length == 0 || el.is(':visible')) {return;}
355 if (el.length === 0 || el.is(':visible')) {return;}
356 var title = el.find('h3.title').text();
356 var title = el.find('h3.title').text();
357 el.dialog({
357 el.dialog({
358 width: width,
358 width: width,
@@ -552,7 +552,7 function setupAjaxIndicator() {
552
552
553 $('#ajax-indicator').bind('ajaxSend', function(event, xhr, settings) {
553 $('#ajax-indicator').bind('ajaxSend', function(event, xhr, settings) {
554
554
555 if ($('.ajax-loading').length == 0 && settings.contentType != 'application/octet-stream') {
555 if ($('.ajax-loading').length === 0 && settings.contentType != 'application/octet-stream') {
556 $('#ajax-indicator').show();
556 $('#ajax-indicator').show();
557 }
557 }
558 });
558 });
General Comments 0
You need to be logged in to leave comments. Login now