fix setting /update url

This commit is contained in:
rlx 2016-01-14 14:20:53 +05:30
commit db8a3f2689
2 changed files with 6 additions and 4 deletions

View file

@ -119,7 +119,11 @@ oml.ui.appDialog = function() {
})
.bindEvent({
close: function() {
oml.UI.set({page: ''});
if (Ox.contains(tabs.map(function(tab) {
return tab.id;
}), ui.page)) {
oml.UI.set({page: ''});
}
}
});