Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Javascript refactor (dialogs)

  • Loading branch information...
commit b31e2546b318c7b2e3cd3161641a93d9d78cbfaf 1 parent 2633288
@zachmullen zachmullen authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 public/js/extension/extension.view.js
View
4 public/js/extension/extension.view.js
@@ -10,7 +10,7 @@ midas.slicerappstore.doLogin = function () {
var content = $('#loginFormTemplate').clone();
content.find('form.loginForm').attr('id', 'appstoreLoginForm');
content.find('div.loginError').attr('id', 'appstoreLoginError');
- showDialogWithContent('Login', content.html(), false, { width: 320 });
+ midas.showDialogWithContent('Login', content.html(), false, { width: 320 });
$('a.registerLink').click(midas.slicerappstore.doRegister);
$('#appstoreLoginForm').ajaxForm({
success: function (responseText, statusText, xhr, form) {
@@ -31,7 +31,7 @@ midas.slicerappstore.doRegister = function () {
var content = $('#registerFormTemplate').clone();
content.find('form.registerForm').attr('id', 'registerForm');
content.find('div.registerError').attr('id', 'registerError');
- showDialogWithContent('Register', content.html(), false, { width: 380 });
+ midas.showDialogWithContent('Register', content.html(), false, { width: 380 });
$('a.loginLink').click(midas.slicerappstore.doLogin);
$('#registerForm').ajaxForm({
success: function (responseText, statusText, xhr, form) {
Please sign in to comment.
Something went wrong with that request. Please try again.