Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Commit

Permalink
Fix #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Triangle717 committed Feb 12, 2014
1 parent e59d0b4 commit a39c70d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,10 @@ define(function (require, exports, module) {

var skellyDialog = Dialogs.showModalDialogUsingTemplate(skellyDialogHtml);
var $dlg = skellyDialog.getElement();
var $openButton = $dlg.find(".close"),
$doneButton = $dlg.find(".dialog-button[data-button-id='ok']");
var $doneButton = $dlg.find(".dialog-button[data-button-id='ok']");

// Bind the close button
$openButton.on("click", skellyDialog.close.bind(skellyDialog));
$doneButton.on("click", skellyDialog.close.bind(skellyDialog));

// Upon closing the dialog, run function to gather and apply choices
$doneButton.on("click", _getOptions);
Expand Down

0 comments on commit a39c70d

Please sign in to comment.