reset page on closing update dialog
This commit is contained in:
parent
5f37f27b9d
commit
4dc7a97504
1 changed files with 9 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue