mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 09:44:38 +02:00
Fix issue processwire/processwire-issues#821 front-edit modal "link" dialog in CKEditor was not respecting current language for link helper tools (autocomplete and PageList selection)
This commit is contained in:
@@ -148,6 +148,8 @@
|
||||
$langWrapper = $textarea.parents('.InputfieldTable_langTabs').find('li.ui-state-active a')
|
||||
if($langWrapper.length && typeof $langWrapper.data('lang') != "undefined") {
|
||||
modalUrl += "&lang=" + $langWrapper.data('lang');
|
||||
} else if(jQuery('#pw-edit-lang').length) {
|
||||
modalUrl += "&lang=" + jQuery('#pw-edit-lang').val(); // front-end editor
|
||||
}
|
||||
}
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user