Close Connection when there is no connection value.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13161 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2013-09-25 15:29:32 +00:00
parent 034a5c0288
commit f70ce644ce
1410 changed files with 7188 additions and 53541 deletions

View file

@ -3192,7 +3192,6 @@ xe.XE_EditingAreaVerticalResizer = $.Class({
_assignHTMLObjects : function(oAppContainer){
oAppContainer = $.$(oAppContainer) || document;
this.oResizeGrip = $(".xpress_xeditor_editingArea_verticalResizer", oAppContainer).get(0);
},
@ -5083,7 +5082,10 @@ xe.XE_Editorresize = $.Class({
}
},
$ON_XE_EDITOR_RESIZE : function(){
this.inputArea.style.height = this.oIframe.style.height = this.oIframeBody[0].scrollHeight + 'px';
var t = this;
setTimeout(function(){
t.inputArea.style.height = t.oIframe.style.height = t.oIframeBody[0].scrollHeight + 'px';
}, 0);
}
});
//}
@ -5122,7 +5124,8 @@ var
var
allow_tags = 'a,abbr,acronym,address,area,blockquote,br,caption,center,cite,code,col,colgroup,dd,del,dfn,div,dl,dt,em,embed,h1,h2,h3,h4,h5,h6,hr,img,ins,kbd,li,map,object,ol,p,param,pre,q,samp,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,tt,u,ul,var,iframe,object,param,style'.split(','),
lonely_tags = 'area,br,col,embed,hr,img,input,param'.split(',');
no_closing_tags = 'base,meta,link,hr,br,basefont,param,img,area,input,isindex,col'.split(',');
var
replace_tags = {
@ -5203,10 +5206,10 @@ xe.XE_XHTMLFormatter = $.Class({
attrs = $.trim(attrs || '');
if (!closing) {
if ($.inArray(tag,lonely_tags) >= 0) {
if ($.inArray(tag,no_closing_tags) >= 0) {
var len = attrs.length;
if (tag == 'br') attrs = '';
if (!attrs || attrs.substring(len-1,len) != '/') attrs += '/';
if (!attrs || attrs.substring(len-1,len) != '/') attrs += ' /';
return '<'+tag+' '+$.trim(attrs)+'>';
} else {
@ -5216,7 +5219,7 @@ xe.XE_XHTMLFormatter = $.Class({
var tags = [], t = '';
// if the tag does not require a closing tag, simply remove the closing tag
if ($.inArray(tag,lonely_tags) >= 0) {
if ($.inArray(tag,no_closing_tags) >= 0) {
return '';
}