The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 46e2eaf1 authored by Demian Katz's avatar Demian Katz
Browse files

Style fixes.

parent dcfdaa88
No related merge requests found
/*global __dialogHandle, displayFormError, extractController, extractSource, getLightbox, path, toggleMenu*/
/** /**
* Functions and event handlers specific to record pages. * Functions and event handlers specific to record pages.
*/ */
...@@ -19,7 +21,7 @@ function checkRequestIsValid(element, requestURL) { ...@@ -19,7 +21,7 @@ function checkRequestIsValid(element, requestURL) {
{ {
hash = hashes[i].split('='); hash = hashes[i].split('=');
var x = hash[0]; var x = hash[0];
var y = hash[1] var y = hash[1];
vars[x] = y; vars[x] = y;
} }
vars['id'] = recordId; vars['id'] = recordId;
...@@ -58,7 +60,7 @@ function registerAjaxCommentRecord() { ...@@ -58,7 +60,7 @@ function registerAjaxCommentRecord() {
refreshCommentList(id, recordSource); refreshCommentList(id, recordSource);
$(form).resetForm(); $(form).resetForm();
} else if (response.status == 'NEED_AUTH') { } else if (response.status == 'NEED_AUTH') {
$dialog = getLightbox('MyResearch', 'Login', id, null, 'Login'); var $dialog = getLightbox('MyResearch', 'Login', id, null, 'Login');
$dialog.dialog({ $dialog.dialog({
close: function(event, ui) { close: function(event, ui) {
// login dialog is closed, check to see if we can proceed with followup // login dialog is closed, check to see if we can proceed with followup
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment