Fix for parenthesis
This commit is contained in:
parent
4e364311f1
commit
6aeaa6954b
|
@ -389,7 +389,7 @@ var OCdialogs = {
|
|||
forceIcon: 0
|
||||
};
|
||||
var previewpath = OC.generateUrl('/core/preview.png?') + $.param(urlSpec);
|
||||
$originalDiv.find('.icon').css('background-image','url('+previewpath+')');
|
||||
$originalDiv.find('.icon').css({"background-image": "url('" + previewpath + "')"});
|
||||
getCroppedPreview(replacement).then(
|
||||
function(path){
|
||||
$replacementDiv.find('.icon').css('background-image','url(' + path + ')');
|
||||
|
|
Loading…
Reference in New Issue