preferencesDialog -> userDialog

This commit is contained in:
rlx 2016-01-17 15:05:46 +05:30
parent bbcde89946
commit 31f5a100f6

View file

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