We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ae9cc6 commit b94efc9Copy full SHA for b94efc9
public/js/script.js
@@ -448,7 +448,7 @@ function getUrlParam(paramName) {
448
return ( match && match.length > 1 ) ? match[1] : null;
449
}
450
451
-function use(item) {
+function use(items) {
452
function useTinymce3(url) {
453
var win = tinyMCEPopup.getWindowArg("window");
454
win.document.getElementById(tinyMCEPopup.getWindowArg("input")).value = url;
@@ -495,7 +495,7 @@ function use(item) {
495
window.opener.SetUrl(p,w,h);
496
497
498
- var url = item.url;
+ var url = items[0].url;
499
var field_name = getUrlParam('field_name');
500
var is_ckeditor = getUrlParam('CKEditor');
501
var is_fcke = typeof data != 'undefined' && data['Properties']['Width'] != '';
0 commit comments