Changeset 1280:d9627cb1cb02 for admin/js
Legend:
- Unmodified
- Added
- Removed
-
admin/js/_media.js
r1234 r1280 40 40 }); 41 41 42 var $container = $('# add-file-f').parent().parent();42 var $container = $('#fileupload').parent().parent(); 43 43 var $msg,label; 44 44 … … 75 75 76 76 $container.toggleClass('enhanced_uploader'); 77 }).appendTo($('# add-file-f'));77 }).appendTo($('#fileupload')); 78 78 79 79 // Replace remove links by a POST on hidden form -
admin/js/_post.js
r1256 r1280 79 79 // Get document format and prepare toolbars 80 80 var formatField = $('#post_format').get(0); 81 var last_post_format = $(formatField).val();82 81 $(formatField).change(function() { 83 // Confirm post format change 84 if(window.confirm(dotclear.msg.confirm_change_post_format_noconvert)){ 85 excerptTb.switchMode(this.value); 86 contentTb.switchMode(this.value); 87 last_post_format = $(this).val(); 88 }else{ 89 // Restore last format if change cancelled 90 $(this).val(last_post_format); 91 } 82 excerptTb.switchMode(this.value); 83 contentTb.switchMode(this.value); 92 84 }); 93 85 -
admin/js/jquery/jquery.pageTabs.js
r1223 r1280 39 39 li = document.createElement('li'); 40 40 a = document.createElement('a'); 41 $(a).html(this.title);41 a.appendChild(document.createTextNode(this.title)); 42 42 this.title = ''; 43 43 a.href = '#'; 44 44 a.fn = This.showDiv; 45 45 a.index = this.id || i; 46 li.id = "part-tabs-"+a.index;47 46 a.obj = This; 48 47 jQuery(a).click(function() { this.fn.call(this.obj,this.index); return false; });
Note: See TracChangeset
for help on using the changeset viewer.