preferencesDialog -> userDialog

This commit is contained in:
rlx 2016-01-17 15:05:46 +05:30
parent bbcde89946
commit 31f5a100f6
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ oml.ui.resetUIDialog = function(data) {
content: Ox._('Are you sure you want to reset all UI settings?'),
title: Ox._('Reset UI Settings')
}, function() {
oml.$ui.preferencesDialog.close();
oml.$ui.userDialog.close();
oml.UI.set({page: ''});
oml.UI.reset();
});