fix app dialog

This commit is contained in:
rlx 2016-01-13 15:55:20 +05:30
parent 40a7d478de
commit fabd50bef1

View file

@ -119,15 +119,8 @@ oml.ui.appDialog = function() {
}) })
.bindEvent({ .bindEvent({
close: function() { close: function() {
if (ui.page == 'app') {
oml.UI.set({page: ''}); oml.UI.set({page: ''});
} }
},
'oml_part.app': function() {
if (ui.page == 'app') {
that.updateElement();
}
}
}); });
that.updateElement = function(section) { that.updateElement = function(section) {