reset page on closing update dialog

This commit is contained in:
rlx 2016-01-13 09:50:46 +05:30
parent 5f37f27b9d
commit 4dc7a97504

View file

@ -2,7 +2,9 @@
oml.ui.updateDialog = function() {
var $content = Ox.Element(),
var ui = oml.user.ui,
$content = Ox.Element(),
$logo = $('<img>')
.attr({
@ -61,6 +63,9 @@ oml.ui.updateDialog = function() {
.hide()
.bindEvent({
click: function() {
if (ui.page == 'update') {
oml.UI.set({page: ''});
}
that.close();
}
}),
@ -99,6 +104,9 @@ oml.ui.updateDialog = function() {
})
.bindEvent({
click: function() {
if (ui.page == 'update') {
oml.UI.set({page: ''});
}
that.close();
}
}),