fix a bug in text panel resize handler
This commit is contained in:
parent
1f5735e6a4
commit
2732638a9f
1 changed files with 2 additions and 2 deletions
|
@ -324,14 +324,14 @@ pandora.ui.textEmbed = function() {
|
||||||
var that = Ox.Element()
|
var that = Ox.Element()
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
resizestart: function() {
|
resizestart: function() {
|
||||||
url && $overlay.show();
|
$iframe.attr('src') && $overlay.show();
|
||||||
},
|
},
|
||||||
resize: function(data) {
|
resize: function(data) {
|
||||||
pandora.user.ui.embedSize = data.size;
|
pandora.user.ui.embedSize = data.size;
|
||||||
pandora.$ui.text.update();
|
pandora.$ui.text.update();
|
||||||
},
|
},
|
||||||
resizeend: function() {
|
resizeend: function() {
|
||||||
url && $overlay.hide();
|
$iframe.attr('src') && $overlay.hide();
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue