From eb68232a2538661b0505ca858beb7259d774ee76 Mon Sep 17 00:00:00 2001 From: Eduardo Lundgren Date: Mon, 9 Jun 2008 08:25:18 +0000 Subject: [PATCH] Added dialog functional demo --- demos/functional/index.html | 2 +- demos/functional/js/functional.demo.js | 2 ++ demos/functional/templates/ui.dialog.html | 34 +++++++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 demos/functional/templates/ui.dialog.html 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 -- 2.39.5