mirror of
https://github.com/processwire/processwire.git
synced 2025-08-25 23:56:41 +02:00
Work-in-progress minor update to pwlink cke plugin
This commit is contained in:
@@ -97,10 +97,15 @@
|
|||||||
function loadIframeLinkPicker(editor) {
|
function loadIframeLinkPicker(editor) {
|
||||||
|
|
||||||
var $in = jQuery("#Inputfield_id");
|
var $in = jQuery("#Inputfield_id");
|
||||||
|
var pageID;
|
||||||
if($in.length) {
|
if($in.length) {
|
||||||
var pageID = $in.val();
|
//if($in.hasClass('PageFrontEdit')) {
|
||||||
|
// var pageID = jQuery("#" + editor.name).closest('.pw-edit').attr('data-page');
|
||||||
|
//} else {
|
||||||
|
pageID = $in.val();
|
||||||
|
//}
|
||||||
} else {
|
} else {
|
||||||
var pageID = jQuery("#" + editor.name).closest('.Inputfield').attr('data-pid');
|
pageID = jQuery("#" + editor.name).closest('.Inputfield').attr('data-pid');
|
||||||
}
|
}
|
||||||
|
|
||||||
// language support
|
// language support
|
||||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user