1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

Feature #2746: Fix files wizard reset

This commit is contained in:
Carlos Martín 2014-03-14 17:40:44 +01:00
parent 831444f63d
commit 713f5b3b43

View File

@ -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);