Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 010a77d

Browse files
committed
Fixing again parenthesis in background URL.
1 parent e898855 commit 010a77d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/plugins/gui.ajax/res/js/ui/prototype/class.PreviewFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Class.create("PreviewFactory", {
9292
var bgUrl = oImageToLoad.editorClass.prototype.getCoveringBackgroundSource(oImageToLoad.ajxpNode);
9393
bgUrl = bgUrl.replace('(', '\\(').replace(')', '\\)').replace('\'', '\\\'');
9494
oImageToLoad.mainObject.setStyle({
95-
backgroundImage:'url(' + oImageToLoad.editorClass.prototype.getCoveringBackgroundSource(oImageToLoad.ajxpNode) + ')',
95+
backgroundImage:'url(' + bgUrl + ')',
9696
backgroundSize : 'cover'
9797
});
9898
}else{

0 commit comments

Comments
 (0)