##// END OF EJS Templates
code layout clean up application.js...
Toshi MARUYAMA -
r11514:f8b756627c79
parent child
Show More
@@ -530,7 +530,6 function initMyPageSortable(list, url) {
530 530 var warnLeavingUnsavedMessage;
531 531 function warnLeavingUnsaved(message) {
532 532 warnLeavingUnsavedMessage = message;
533
534 533 $('form').submit(function(){
535 534 $('textarea').removeData('changed');
536 535 });
@@ -549,14 +548,11 function warnLeavingUnsaved(message) {
549 548 }
550 549
551 550 function setupAjaxIndicator() {
552
553 551 $('#ajax-indicator').bind('ajaxSend', function(event, xhr, settings) {
554
555 552 if ($('.ajax-loading').length === 0 && settings.contentType != 'application/octet-stream') {
556 553 $('#ajax-indicator').show();
557 554 }
558 555 });
559
560 556 $('#ajax-indicator').bind('ajaxStop', function() {
561 557 $('#ajax-indicator').hide();
562 558 });
General Comments 0
You need to be logged in to leave comments. Login now