I am getting some strange behavior when combining the dialog box with
a lift command.  I've setup an editor for text files and have a dialog
box setup as a preview of the finished work.

<lift:Workflow.edit>

    <script type="text/javascript">
        function dialogShow() {

                $.ui.dialog.defaults.bgiframe = true;
                $(function () {
                        $("#dialog").dialog({

                                bgiframe: true,
                                height: 140,
                                modal: true
                        });
                });

        }

  </script>

  <div id="dialog" title="Preview">
    <ajax:text/>
  </div>
    <ajax:text/>

   <button type="button" onclick="dialogShow()" class="ui-state-
default ui-corner-all">Preview</button>

</lift:Workflow.edit>

Most of the Dialog code is just taken from the examples.  The issue is
that when the page loads, the contents of
    <ajax:text/>
are shown twice.  Once I click the preview button, the first removes
itself, and is shown in the dialog box.  When we return it displays
correctly with just one copy of
    <ajax:text/>

This seems more of a lift issue, but I wanted to post to see if anyone
had similar issues and what they did to resolve it.

Thanks,

Chris



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to