fix createLinks (image links etc.)

This commit is contained in:
rolux 2014-11-20 21:20:59 +00:00
parent 7b91ef5f56
commit 8cb557738b

View file

@ -295,6 +295,12 @@ pandora.createLinks = function($element) {
$element.on({
click: function(e) {
var $target = $(e.target);
while (true) {
if ($target.is('a') or $target == $element) {
break;
}
$target = $($target.parent());
}
if (
$target.is('a')
&& !$($target.parent()).is('.OxEditable')