Skip to content
This repository has been archived by the owner on Jun 20, 2018. It is now read-only.

Commit

Permalink
Tweaking popovers so you can delete them by clicking. Also cleaning u…
Browse files Browse the repository at this point in the history
…p some method names.
  • Loading branch information
Terrence Ryan committed Nov 8, 2013
1 parent 65724b1 commit cfa9424
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.js
Expand Up @@ -42,7 +42,7 @@ define(function (require, exports, module) {
ProjectListPanelTemplate = require("text!templates/project-panel-list.html"),
LoginTemplate = require("text!templates/login.html");

//LoginTemplate = require("text!templates/hardcodedlogin.html")
LoginTemplate = require("text!templates/hardcodedlogin.html")

var CommandManager = brackets.getModule("command/CommandManager"),
ProjectManager = brackets.getModule("project/ProjectManager"),
Expand Down Expand Up @@ -298,7 +298,7 @@ define(function (require, exports, module) {
animation : true,
html : true,
placement : "left",
trigger : "manual",
trigger : "click",
content : message
};

Expand Down Expand Up @@ -561,9 +561,9 @@ define(function (require, exports, module) {
showAlert(Strings.PROJECT_NOT_LINKED_MESSAGE + Strings.LINK_PROJECT_MENU_ITEM, false, null, false);
return;
}
Dialogs.showModalDialog(Dialogs.DIALOG_ID_ERROR, Strings.SEND_FILES_MENU_ENTRY, Strings.UPLOAD_CONFIRMATION_MESSAGE).done(eve.f("pgb.alert.bundle.ok"));
Dialogs.showModalDialog(Dialogs.DIALOG_ID_ERROR, Strings.SEND_FILES_MENU_ENTRY, Strings.UPLOAD_CONFIRMATION_MESSAGE).done(eve.f("pgb.alert.bundle"));
});
eve.on("pgb.alert.bundle.ok", function(action) {
eve.on("pgb.alert.bundle", function(action) {
if (action === Dialogs.DIALOG_BTN_CANCEL) {
// NO-OP. Probably don't have to do anything.
}
Expand Down

0 comments on commit cfa9424

Please sign in to comment.