mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 15:49:57 +09:00
issue 1292: merged & compressed js files for the fix made in rev10736
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10842 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8776570aae
commit
fcbf5902db
2 changed files with 106 additions and 109 deletions
|
|
@ -5215,21 +5215,21 @@ xe.XE_XHTMLFormatter = $.Class({
|
|||
} else {
|
||||
var tags = [], t = '';
|
||||
|
||||
// remove unnecessary closing tag
|
||||
// if the tag does not require a closing tag, simply remove the closing tag
|
||||
if ($.inArray(tag,lonely_tags) >= 0) {
|
||||
return '';
|
||||
}
|
||||
|
||||
// if the matching opening tag was not found, remove this closing tag
|
||||
if (!stack.length){
|
||||
return '';
|
||||
}
|
||||
|
||||
do {
|
||||
t = stack[stack.length-1];
|
||||
if (t.tag != tag){
|
||||
continue;
|
||||
}
|
||||
if (t.state != 'deleted'){
|
||||
tags.push('</'+t.tag+'>');
|
||||
}
|
||||
stack.pop();
|
||||
} while(stack.length && t.tag == tag);
|
||||
t = stack.pop();
|
||||
if (t.tag != tag) continue;
|
||||
if (t.state != 'deleted') tags.push('</'+t.tag+'>');
|
||||
} while(stack.length && t.tag != tag);
|
||||
|
||||
return tags.join('');
|
||||
}
|
||||
|
|
@ -5813,21 +5813,18 @@ xe.XE_Table = $.Class({
|
|||
}
|
||||
}).extend(xe.XE_Table);
|
||||
|
||||
})(jQuery);
|
||||
|
||||
// Auto Resize Checkbox Toggle Class
|
||||
jQuery(function($){
|
||||
$('.input_auto>input').change(function(){
|
||||
setTimeout(function(){
|
||||
if($('.input_control').is(':hidden')){
|
||||
$('.input_auto').addClass('line');
|
||||
} else {
|
||||
$('.input_auto').removeClass('line');
|
||||
}
|
||||
},1);
|
||||
});
|
||||
$('.input_auto>input').change(function(){
|
||||
setTimeout(function(){
|
||||
if($('.input_control').is(':hidden')){
|
||||
$('.input_auto').addClass('line');
|
||||
} else {
|
||||
$('.input_auto').removeClass('line');
|
||||
}
|
||||
},1);
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
if (!window.xe) xe = {};
|
||||
|
||||
xe.Editors = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue