mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Feature #2746: Fix files wizard reset
This commit is contained in:
1 parent
831444f63d
commit
713f5b3b43
1 file changed
+16
-1
@@ -768,6 +768,22 @@ function setupCreateFileDialog(){
|
||||
return false;
|
||||
});
|
||||
|
||||
setupTips(dialog);
|
||||
|
||||
$('#wizard_file_reset_button', dialog).click(function(){
|
||||
$('#create_file_dialog').html("");
|
||||
setupCreateFileDialog();
|
||||
|
||||
popUpCreateFileDialog();
|
||||
});
|
||||
|
||||
$('#advanced_file_reset_button', dialog).click(function(){
|
||||
$('#create_file_dialog').html("");
|
||||
setupCreateFileDialog();
|
||||
|
||||
popUpCreateFileDialog();
|
||||
$("a[href='#file_manual']").click();
|
||||
});
|
||||
}
|
||||
|
||||
function popUpCreateFileDialog(){
|
||||
@@ -830,7 +846,6 @@ $(document).ready(function(){
|
||||
Sunstone.runAction("File.list");
|
||||
|
||||
setupCreateFileDialog();
|
||||
setupTips($create_file_dialog);
|
||||
setFileAutorefresh();
|
||||
|
||||
initCheckAllBoxes(dataTable_files);
|
||||
|
||||
Reference in new issue
Block a user