Make dialog boxes consistent

This commit is contained in:
bergware
2023-10-14 14:18:56 +02:00
parent aef7b4c012
commit 378eb9916c
4 changed files with 0 additions and 10 deletions

View File

@@ -66,8 +66,6 @@ function popupWithIframe(title, cmd, reload, func) {
height: Math.max(window.innerHeight*3/5,600),
resizable:true,
modal:true,
show:{effect:'fade', duration:250},
hide:{effect:'fade', duration:250},
open:function(ev, ui) {
$('#myIframe').attr('src', cmd);
},

View File

@@ -69,8 +69,6 @@ function addPoolPopup() {
resizable: false,
width: 600,
modal: true,
show : {effect:'fade', duration:250},
hide : {effect:'fade', duration:250},
buttons: {
"_(Add)_": function() {
if (validate($(this).find('input[name="poolName"]').val())) {
@@ -122,8 +120,6 @@ function addSubpoolPopup(poolname,currentsubpools) {
resizable: false,
width: 600,
modal: true,
show : {effect:'fade', duration:250},
hide : {effect:'fade', duration:250},
buttons: {
"_(Add)_": function() {
subpool=$(this).find('select[name="subpool"]').val();

View File

@@ -489,8 +489,6 @@ function renamePoolPopup() {
resizable: false,
width: 600,
modal: true,
show : {effect:'fade', duration:250},
hide : {effect:'fade', duration:250},
buttons: {
"_(Rename)_": function() {
if (validate($(this).find('input[name="poolName"]').val())) {

View File

@@ -137,8 +137,6 @@ function PHPinfo() {
height: Math.min(window.innerHeight-80,800),
width: Math.min(window.innerWidth,1200),
modal: true,
show: {effect:'fade', duration:250},
hide: {effect:'fade', duration:250},
buttons: {
"_(Done)_": function(){
box.dialog('close');