...
This commit is contained in:
parent
6cfc5d6a5d
commit
4e1cf3e16d
|
@ -5620,8 +5620,9 @@ _plugin('core', function(K) {
|
|||
afterUpload : function(data) {
|
||||
if (data.error === 0) {
|
||||
var url = K.formatUrl(data.url, 'absolute');
|
||||
//self.exec('insertimage', url, 'image','','','1','left');
|
||||
self.insertHtml('<img src="'+url+'"/>');
|
||||
self.exec('insertimage', url, 'image','','','1','');
|
||||
//self.exec('insertimage', url, 'image','','','1','left');
|
||||
//self.insertHtml('<img src="'+url+'"/>');
|
||||
var asset_id = data.asset_id;
|
||||
if ( asset_id != "" && parent.document.getElementById('asset_id') != null ) {
|
||||
parent.document.getElementById('asset_id').value += asset_id.toString();
|
||||
|
|
Loading…
Reference in New Issue