mirror of
https://github.com/moodle/moodle.git
synced 2025-07-28 01:41:03 +02:00
glossary MDL-23369 made glossary item autolink filter popups the right size
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user