From 8cda0d2b98b2bdb00615b0bc45230bb82b28a38c Mon Sep 17 00:00:00 2001 From: phamt Date: Fri, 24 Sep 2010 02:42:47 +0000 Subject: [PATCH] Changed position of dialogs to default center. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7603 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/js/custom/zvm.js | 1 - xCAT-UI/js/custom/zvmUtils.js | 3 --- xCAT-UI/js/nodes/nodes.js | 1 - xCAT-UI/js/ui.js | 1 - 4 files changed, 6 deletions(-) diff --git a/xCAT-UI/js/custom/zvm.js b/xCAT-UI/js/custom/zvm.js index e9ccce82d..d957d30ae 100644 --- a/xCAT-UI/js/custom/zvm.js +++ b/xCAT-UI/js/custom/zvm.js @@ -878,7 +878,6 @@ zvmPlugin.prototype.addNode = function() { // Open form as a dialog addNodeForm.dialog({ - position: 'top', modal: true, width: 400, buttons: { diff --git a/xCAT-UI/js/custom/zvmUtils.js b/xCAT-UI/js/custom/zvmUtils.js index a0fd76a86..eb4a41341 100644 --- a/xCAT-UI/js/custom/zvmUtils.js +++ b/xCAT-UI/js/custom/zvmUtils.js @@ -1026,7 +1026,6 @@ function openAddProcDialog(node) { // Open dialog to add processor addProcForm.dialog({ - position: 'top', modal: true, width: 400, buttons: { @@ -1131,7 +1130,6 @@ function openAddDiskDialog(node, hcp) { // Open dialog to add disk addDiskForm.dialog({ - position: 'top', modal: true, width: 400, buttons: { @@ -1356,7 +1354,6 @@ function openAddNicDialog(node, hcp) { // Open dialog to add NIC addNicForm.dialog({ - position: 'top', modal: true, width: 400, buttons: { diff --git a/xCAT-UI/js/nodes/nodes.js b/xCAT-UI/js/nodes/nodes.js index 36a6f158e..6b2a9ab34 100644 --- a/xCAT-UI/js/nodes/nodes.js +++ b/xCAT-UI/js/nodes/nodes.js @@ -170,7 +170,6 @@ function loadGroups(data) { // Open dialog to add node addNodeForm.dialog({ - position: 'top', modal: true, width: 400, buttons: { diff --git a/xCAT-UI/js/ui.js b/xCAT-UI/js/ui.js index 829605f4c..8d2eea71d 100644 --- a/xCAT-UI/js/ui.js +++ b/xCAT-UI/js/ui.js @@ -532,7 +532,6 @@ function openDialog(msg) { // Open dialog div.dialog({ - position: 'top', modal: true, width: 400, buttons: {