mirror of
https://github.com/processwire/processwire.git
synced 2025-08-24 15:23:11 +02:00
Work-in-progress minor update to pwlink cke plugin
This commit is contained in:
@@ -97,10 +97,15 @@
|
||||
function loadIframeLinkPicker(editor) {
|
||||
|
||||
var $in = jQuery("#Inputfield_id");
|
||||
var pageID;
|
||||
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 {
|
||||
var pageID = jQuery("#" + editor.name).closest('.Inputfield').attr('data-pid');
|
||||
pageID = jQuery("#" + editor.name).closest('.Inputfield').attr('data-pid');
|
||||
}
|
||||
|
||||
// language support
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user