Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The spinner graphic is set to 1px height inside a Jquery-UI dialog box #15

Open
wyattbiker opened this issue Dec 23, 2011 · 1 comment

Comments

@wyattbiker
Copy link

I dont know if this is a bug, but when a spinner is inside a jquery-ui dialog, make sure that the spinner code is executed after the dialog.open method.

Otherwise if you put the spinner code in the ready() method the up and down graphics have wrong values even it otherwise works fine.

Here is the spinner inside a dialog div:

Here is the <script> segment

<script> jQuery(document).ready(function(){ var $ = jQuery; $( "#add-edit-poe-link" ).dialog({ dialog settings here .............. }); }); function addEditPOE(){ $("#add-edit-poe-link" ).dialog( "open" ); $('#spinner').spinner({ min: -100, max: 100 }); ///<---- Code must be here. If you put it in ready function irrwill not work. } </script>
@robertux
Copy link

robertux commented Sep 3, 2012

I got this same problem but also the solution proposed worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants