From 1ccc2e381f6d41fb53c603afa977d3071f7ef736 Mon Sep 17 00:00:00 2001 From: Guillermo Bisheimer Date: Sat, 18 Apr 2015 23:08:51 -0300 Subject: [PATCH] Creates all dialogs inside jtable-main-container --- dev/jquery.jtable.core.js | 1 + dev/jquery.jtable.creation.js | 1 + dev/jquery.jtable.deletion.js | 1 + dev/jquery.jtable.editing.js | 1 + lib/jquery.jtable.js | 4 ++++ 5 files changed, 8 insertions(+) diff --git a/dev/jquery.jtable.core.js b/dev/jquery.jtable.core.js index a859986b..43301d9c 100644 --- a/dev/jquery.jtable.core.js +++ b/dev/jquery.jtable.core.js @@ -336,6 +336,7 @@ self._$errorDialogDiv = $('
').appendTo(self._$mainContainer); self._$errorDialogDiv.dialog({ + appendTo: self._$mainContainer, autoOpen: false, show: self.options.dialogShowEffect, hide: self.options.dialogHideEffect, diff --git a/dev/jquery.jtable.creation.js b/dev/jquery.jtable.creation.js index 82eb34ae..92f2fff1 100644 --- a/dev/jquery.jtable.creation.js +++ b/dev/jquery.jtable.creation.js @@ -58,6 +58,7 @@ //Prepare dialog self._$addRecordDiv.dialog({ + appendTo: self._$mainContainer, autoOpen: false, show: self.options.dialogShowEffect, hide: self.options.dialogHideEffect, diff --git a/dev/jquery.jtable.deletion.js b/dev/jquery.jtable.deletion.js index 217532c3..21cee3c0 100644 --- a/dev/jquery.jtable.deletion.js +++ b/dev/jquery.jtable.deletion.js @@ -67,6 +67,7 @@ //Prepare dialog self._$deleteRecordDiv.dialog({ + appendTo: self._$mainContainer, autoOpen: false, show: self.options.dialogShowEffect, hide: self.options.dialogHideEffect, diff --git a/dev/jquery.jtable.editing.js b/dev/jquery.jtable.editing.js index 9b7ac911..29f8a78c 100644 --- a/dev/jquery.jtable.editing.js +++ b/dev/jquery.jtable.editing.js @@ -62,6 +62,7 @@ //Prepare dialog self._$editDiv.dialog({ + appendTo: self._$mainContainer, autoOpen: false, show: self.options.dialogShowEffect, hide: self.options.dialogHideEffect, diff --git a/lib/jquery.jtable.js b/lib/jquery.jtable.js index 869af246..a095d2d4 100644 --- a/lib/jquery.jtable.js +++ b/lib/jquery.jtable.js @@ -365,6 +365,7 @@ THE SOFTWARE. self._$errorDialogDiv = $('
').appendTo(self._$mainContainer); self._$errorDialogDiv.dialog({ + appendTo: self._$mainContainer, autoOpen: false, show: self.options.dialogShowEffect, hide: self.options.dialogHideEffect, @@ -2022,6 +2023,7 @@ THE SOFTWARE. //Prepare dialog self._$addRecordDiv.dialog({ + appendTo: self._$mainContainer, autoOpen: false, show: self.options.dialogShowEffect, hide: self.options.dialogHideEffect, @@ -2376,6 +2378,7 @@ THE SOFTWARE. //Prepare dialog self._$editDiv.dialog({ + appendTo: self._$mainContainer, autoOpen: false, show: self.options.dialogShowEffect, hide: self.options.dialogHideEffect, @@ -2835,6 +2838,7 @@ THE SOFTWARE. //Prepare dialog self._$deleteRecordDiv.dialog({ + appendTo: self._$mainContainer, autoOpen: false, show: self.options.dialogShowEffect, hide: self.options.dialogHideEffect,