From 46e2eaf1a3fc1d908bf9895a22907a50260c2a96 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Fri, 18 Jan 2013 11:15:19 -0500 Subject: [PATCH] Style fixes. --- themes/blueprint/js/record.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/themes/blueprint/js/record.js b/themes/blueprint/js/record.js index 3cc1085f7ae..581b2b3cb55 100644 --- a/themes/blueprint/js/record.js +++ b/themes/blueprint/js/record.js @@ -1,3 +1,5 @@ +/*global __dialogHandle, displayFormError, extractController, extractSource, getLightbox, path, toggleMenu*/ + /** * Functions and event handlers specific to record pages. */ @@ -19,7 +21,7 @@ function checkRequestIsValid(element, requestURL) { { hash = hashes[i].split('='); var x = hash[0]; - var y = hash[1] + var y = hash[1]; vars[x] = y; } vars['id'] = recordId; @@ -58,7 +60,7 @@ function registerAjaxCommentRecord() { refreshCommentList(id, recordSource); $(form).resetForm(); } else if (response.status == 'NEED_AUTH') { - $dialog = getLightbox('MyResearch', 'Login', id, null, 'Login'); + var $dialog = getLightbox('MyResearch', 'Login', id, null, 'Login'); $dialog.dialog({ close: function(event, ui) { // login dialog is closed, check to see if we can proceed with followup -- GitLab