diff --git a/src/sunstone/public/js/sunstone.js b/src/sunstone/public/js/sunstone.js
index 5755ed6447..35b0b1d8ab 100644
--- a/src/sunstone/public/js/sunstone.js
+++ b/src/sunstone/public/js/sunstone.js
@@ -867,70 +867,6 @@ function insertButtonsInTab(tab_name, panel_name, panel_buttons, custom_context)
//another containing a list of actions that can be folded/unfolded.
function initListButtons(){
- // //for each multi_action select
- // $('.multi_action_slct',main_tabs_context).each(function(){
- // //prepare replacement buttons
- // var buttonset = $('
'+tr("Previous action")+'')//.button();
- // button1.attr('disabled','disabled');
- // var button2 = $('See more ')
- // //.button({
- // // text:false,
- // // icons: { primary: "ui-icon-triangle-1-s" }
- // //});
- // // buttonset.append(button1);
- // // buttonset.append(button2);
- // // buttonset.buttonset();
-////
- // //prepare list
- // var options = $('option', $(this));
- // var list = $('');
- // $.each(options,function(){
- // var classes = $(this).attr('class');
- // var item = $(' ');
- // var a = $(''+$(this).text()+' ');
- // a.val($(this).val());
- // item.html(a);
- // list.append(item);
- // });
- // list.css({
- // "display":"none"
- // });
-//
- // $(this).before(buttonset);
- // $(this).parents('.action_blocks').append(list);
- // $(this).remove();
-//
- // });
-//
- // //below the listeners for events on these buttons and list
-//
- // //enable run the last action button
- // //$('.action_list li a',main_tabs_context).click(function(){
- // // //enable run last action button
- // // var prev_action_button = $('.last_action_button',$(this).parents('.action_blocks'));
- // // prev_action_button.val($(this).val());
- // // prev_action_button.removeClass("confirm_with_select_button");
- // // prev_action_button.removeClass("confirm_button");
- // // prev_action_button.removeClass("action_button");
- // // prev_action_button.addClass($(this).attr('class'));
- // // prev_action_button.button("option","label",$(this).text());
- // // prev_action_button.button("enable");
- // // $(this).parents('ul').hide("blind",100);
- // // //return false;
- // //});
-//
- // //Show the list of actions in place
- // $('.list_button',main_tabs_context).click(function(){
- // $('.action_list',$(this).parents('.action_blocks')).css({
- // "left": $(this).prev().position().left,
- // "top": $(this).prev().position().top+13,
- // "width": $(this).parent().outerWidth()-11
- // });
- // //100ms animation time
- // $('.action_list',$(this).parents('.action_blocks')).toggle("blind",100);
- // return false;
- // });
}
//Prepares the standard confirm dialogs
@@ -947,6 +883,11 @@ function setupConfirmDialogs(){
\
');
- //prepare the jquery dialog
- //dialog.dialog({
- // resizable:false,
- // modal:true,
- // width:300,
- // heigth:200,
- // autoOpen:false
- //});
dialog.addClass("reveal-modal");
-
- //enhace the button look
- //$('button',dialog).button();
-
-
dialogs_context.append('
');
dialog = $('div#confirm_with_select_dialog',dialogs_context);
dialog.html(
'\
\
- '+tr("Confirm")+' \
+ '+tr("Confirm")+' \
\
\