Neos8929 / artdialog

Automatically exported from code.google.com/p/artdialog
0 stars 0 forks source link

The "show" function can't work on the dialog which was configuated with 'show:false' #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. first ,set up a dialog with the code
  $.dialog({
           id:'dialog_hello',                                         content:document.getElementById("span-test"), 
          title:"good job",
          show:false
});
2. use the function "$.dialog.list['dialog_hello'].show();",but nothing happened
What is the expected output? What do you see instead?
 the show function should active all the dialog in the mode of hidden,not only the dialog which was hidden by using the function "hide()";

What version of the product are you using? On what operating system?
the lastest version 4.10 Jq-based edition

Please provide any additional information below.

Original issue reported on code.google.com by D.sky...@gmail.com on 11 Aug 2011 at 3:18

GoogleCodeExporter commented 9 years ago
document.getElementById return an object。
if you are using Jq, you can change the code
>>  content:document.getElementById("span-test"),   
to:
>> content: $("#span-test").html()

Original comment by kirinwan...@gmail.com on 27 Oct 2011 at 6:55