Skip to content
Snippets Groups Projects
Commit 0c78924c authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Merge branch 'release-2.3'

parents 32d2581e ad4e6c05
No related merge requests found
/*global addSearchString, searchFields, searchFieldLabel, searchLabel, searchMatch */ /*global addSearchString, deleteSearchGroupString, searchFields, searchFieldLabel, searchJoins, searchLabel, searchMatch */
var nextGroup = 0; var nextGroup = 0;
......
/*global addSearchString, searchFields, searchFieldLabel, searchLabel, searchMatch */ /*global addSearchString, deleteSearchGroupString, searchFields, searchFieldLabel, searchLabel, searchMatch */
var nextGroup = 0; var nextGroup = 0;
var groupSearches = []; var groupSearches = [];
......
/*global checkSaveStatuses, console, extractSource, hexEncode, Lightbox, path, rc4Encrypt, refreshCommentList, vufindString */ /*global btoa, checkSaveStatuses, console, extractSource, hexEncode, Lightbox, path, rc4Encrypt, refreshCommentList, unescape, vufindString */
/* --- GLOBAL FUNCTIONS --- */ /* --- GLOBAL FUNCTIONS --- */
function htmlEncode(value){ function htmlEncode(value){
...@@ -10,7 +10,9 @@ function htmlEncode(value){ ...@@ -10,7 +10,9 @@ function htmlEncode(value){
} }
function extractClassParams(str) { function extractClassParams(str) {
str = $(str).attr('class'); str = $(str).attr('class');
if (typeof str === "undefined") return []; if (typeof str === "undefined") {
return [];
}
var params = {}; var params = {};
var classes = str.split(/\s+/); var classes = str.split(/\s+/);
for(var i = 0; i < classes.length; i++) { for(var i = 0; i < classes.length; i++) {
...@@ -22,7 +24,7 @@ function extractClassParams(str) { ...@@ -22,7 +24,7 @@ function extractClassParams(str) {
return params; return params;
} }
function jqEscape(myid) { function jqEscape(myid) {
return String(myid).replace(/[!"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~]/g, "\\$&"); return String(myid).replace(/[!"#$%&'()*+,.\/:;<=>?@\[\\\]\^`{|}~]/g, "\\$&");
} }
function html_entity_decode(string, quote_style) function html_entity_decode(string, quote_style)
{ {
......
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