Commit e41edb62 authored by Sven Franck's avatar Sven Franck

debug external callback_url

parent 581b6bfc
......@@ -6400,7 +6400,7 @@
* @return controlgroup
*/
factory.controlgroup = function (spec) {
var config, group, direction, controls, i, j, element, order, state, param,
var config, group, direction, controls, i, element, order, state, param,
target;
if (spec === undefined) {
......@@ -6449,18 +6449,13 @@
// more HACK:
if (param && element.direct.href) {
element.direct.href += element.direct.href.indexOf("?") > 0 ? "&" : "?";
for (j = 0; j < param.length; j += 1) {
switch (param[1]) {
case "location":
target = window.location.origin + window.location.pathname;
break;
}
console.log("set to:")
console.log(target)
element.direct.href += window.encodeURIComponent(param[0]) +
"=" + window.encodeURIComponent(target);
target = "";
}
}
// reference to item ID
......
Markdown is supported
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