Skip to content

Commit

Permalink
Remove wrap for dialog buttons
Browse files Browse the repository at this point in the history
git-svn-id: svn://cherokee-project.com/CTK/trunk@5333 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information
ionmx committed Jul 22, 2010
1 parent 0beb485 commit 523391c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions CTK/Dialog.py
Expand Up @@ -47,16 +47,6 @@
/* Initialize */
dialog_obj.dialog (%(dialog_props)s);
/* Events */
dialog_obj.bind ('dialogopen', function(event, ui){
$('.ui-dialog-buttonpane :button').each (function(){
var html = $(this).html();
if (! html || html.indexOf('<span') != 0) {
$(this).wrapInner('<span class=\"button-outter\"><span class=\"button-inner\"></span></span>');
}
});
});
/* Positioning */
dialog_obj.dialog ('option', 'position', ['center', 85]);
"""
Expand Down

0 comments on commit 523391c

Please sign in to comment.