Permalink
Browse files

Renamed actionButton to action_button

  • Loading branch information...
1 parent a960955 commit 0b4f7d24489c310c963fc8fb9ed9b29dfdc310b8 @dbunskoek dbunskoek committed Nov 24, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 fiber/static/fiber/js/admin.js
@@ -789,13 +789,13 @@ Fiber.FileSelectDialog = BaseFileSelectDialog.extend({
this.uiDialog.dialog('option', 'zIndex', 1200); // set z-index here, because it can't set by _super
// enhance action button
- var actionButton = this.uiDialog.parent().find(':button:contains("Action")');
- actionButton.attr('id', 'action-button');
+ var action_button = this.uiDialog.parent().find(':button:contains("Action")');
+ action_button.attr('id', 'action-button');
- actionButton.find('.ui-button-text').text(gettext('Select'));
+ action_button.find('.ui-button-text').text(gettext('Select'));
- actionButton.attr('disabled', 'disabled');
- actionButton.addClass('ui-button-disabled ui-state-disabled');
+ action_button.attr('disabled', 'disabled');
+ action_button.addClass('ui-button-disabled ui-state-disabled');
this.uiDialog.dialog('option', 'title', gettext('Select a file'));

0 comments on commit 0b4f7d2

Please sign in to comment.