Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #34 from ryanstewart/issue_30

Fix #30 by forcing project ID to be a Number
  • Loading branch information...
commit 912824e8dd6223accdfa96d29b6771a72830783e 2 parents ce8b6bd + 5067c5e
@tpryan tpryan authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  main.js
View
3  main.js
@@ -520,7 +520,8 @@ define(function (require, exports, module) {
else if (val == -1) { // Unlinking
linkedProjectId = null;
} else if (action === Dialogs.DIALOG_BTN_OK) {
- linkedProjectId = val;
+ // RCS - force this to be cast as a number so we don't upload a new project after linking our code (fix for #30)
+ linkedProjectId = Number(val);
showAlert(Strings.LINK_SUCCESSFUL_MESSAGE + Strings.SEND_FILES_MENU_ENTRY + ".", false, null, false);
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.