glossary MDL-23369 made glossary item autolink filter popups the right size

This commit is contained in:
Andrew Davis
2010-07-22 05:51:40 +00:00
parent f954e12ea8
commit aa28106896
2 changed files with 10 additions and 2 deletions

View File

@@ -1554,6 +1554,14 @@ function old_onload_focus(formid, controlname) {
}
function build_querystring(obj) {
return convert_object_to_string(obj, '&');
}
function build_windowoptionsstring(obj) {
return convert_object_to_string(obj, ',');
}
function convert_object_to_string(obj, separator) {
if (typeof obj !== 'object') {
return null;
}
@@ -1569,7 +1577,7 @@ function build_querystring(obj) {
list.push(k+'='+encodeURIComponent(value));
}
}
return list.join('&');
return list.join(separator);
}
function stripHTML(str) {