dont paste empty clipboard
This commit is contained in:
parent
ce8803d100
commit
9befd5c4b2
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ pandora.ui.editPanel = function(isEmbed) {
|
|||
},
|
||||
paste: function() {
|
||||
var clips = pandora.clipboard.paste();
|
||||
pandora.doHistory('paste', clips, ui.edit, function(result) {
|
||||
clips.length && pandora.doHistory('paste', clips, ui.edit, function(result) {
|
||||
Ox.Request.clearCache('getEdit');
|
||||
Ox.Request.clearCache('sortClips');
|
||||
updateClips(edit.clips.map(function(clip) {
|
||||
|
|
Loading…
Reference in a new issue