提交 0ffa364a 编写于 作者: 许金泉's avatar 许金泉

Merge remote-tracking branch 'origin/dev-1.4.3' into dev-1.4.3

......@@ -35,7 +35,7 @@ UE.parse.register('list',function(utils){
customCss.push(selector +' .list-paddingleft-2{padding-left:'+ this.listDefaultPaddingLeft+'px}');
customCss.push(selector +' .list-paddingleft-3{padding-left:'+ this.listDefaultPaddingLeft*2+'px}');
utils.cssRule('list', selector +' ol,'+selector +' ul{margin:0;padding:0;}li{clear:both;}'+customCss.join('\n'), document);
utils.cssRule('list', selector +' ol,'+selector +' ul{margin:0;padding:0;}\n' + selector + ' li{clear:both;}\n'+customCss.join('\n'), document);
}
function applyStyle(nodes){
var T = this;
......
......@@ -45,6 +45,7 @@ UE.plugin.register('autoupload', function (){
loader.setAttribute('alt', data.original || '');
loader.removeAttribute('id');
domUtils.removeClasses(loader, 'loadingclass');
me.trigger('contentchange',loader);
}
};
} else {
......@@ -54,6 +55,7 @@ UE.plugin.register('autoupload', function (){
'/images/spacer.gif" title="' + (me.getLang('autoupload.loading') || '') + '" >' +
'</p>';
successHandler = function(data) {
var link = urlPrefix + data.url,
loader = me.document.getElementById(loadingId);
......@@ -67,7 +69,6 @@ UE.plugin.register('autoupload', function (){
/* 插入loading的占位符 */
me.execCommand('inserthtml', loadingHtml);
/* 判断后端配置是否没有加载成功 */
if (!me.getOpt(filetype + 'ActionName')) {
errorHandler(me.getLang('autoupload.errorLoadConfig'));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册