Skip to content

Commit

Permalink
// Coding standards fixes on module page javascript files
Browse files Browse the repository at this point in the history
  • Loading branch information
tchauviere committed Feb 18, 2016
1 parent be8c445 commit c6615e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion admin-dev/themes/default/js/bundle/module/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ var AdminModule = function () {
dataType: 'json',
data: $(this).serialize(),
beforeSend: function() {
$(_that.addonsLoginButtonSelector).show()
$(_that.addonsLoginButtonSelector).show();
$("button.btn[type='submit']", _that.addonsConnectForm).hide();
}
}).done(function (response) {
Expand Down
3 changes: 1 addition & 2 deletions admin-dev/themes/default/js/bundle/module/module_card.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ var AdminModuleCard = function () {
return true;
}
modal.first().modal('show');
;
return false; // do not allow a.href to reload the page. The confirm modal dialog will do it async if needed.
};
var dispatchPreEvent = function (action, element) {
Expand Down Expand Up @@ -100,7 +99,7 @@ var AdminModuleCard = function () {
$.growl.error({message: "No answer received from server"});
} else {
var moduleTechName = Object.keys(result)[0];
if (result[moduleTechName].status == false) {
if (result[moduleTechName].status === false) {
$.growl.error({message: result[moduleTechName].msg});
} else {
$.growl.notice({message: result[moduleTechName].msg});
Expand Down

0 comments on commit c6615e2

Please sign in to comment.