From: Eduardo Lundgren Date: Mon, 9 Jun 2008 08:25:18 +0000 (+0000) Subject: Added dialog functional demo X-Git-Tag: 1.5.1~120 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eb68232a2538661b0505ca858beb7259d774ee76;p=jquery-ui.git Added dialog functional demo --- diff --git a/demos/functional/index.html b/demos/functional/index.html index d53901a16..05e359977 100644 --- a/demos/functional/index.html +++ b/demos/functional/index.html @@ -53,7 +53,7 @@ - + diff --git a/demos/functional/js/functional.demo.js b/demos/functional/js/functional.demo.js index 62f323cad..5128d12a6 100644 --- a/demos/functional/js/functional.demo.js +++ b/demos/functional/js/functional.demo.js @@ -162,6 +162,8 @@ var uiRenderDemo = function(model) { var loadDemo = function(comp) { + $("#dialog").dialog().remove(); + $('#containerDemo').html(""); $("#containerDemo").ajaxError(function(request, settings){ diff --git a/demos/functional/templates/ui.dialog.html b/demos/functional/templates/ui.dialog.html new file mode 100644 index 000000000..75e87b875 --- /dev/null +++ b/demos/functional/templates/ui.dialog.html @@ -0,0 +1,34 @@ + \ No newline at end of file