Minor - fix after merge

pull/3016/head
Julio 6 years ago
parent 196bfc4702
commit 441dc85b43
  1. 4
      main/inc/lib/pear/HTML/QuickForm/file.php
  2. 2
      main/inc/lib/template.lib.php

@ -297,8 +297,8 @@ class HTML_QuickForm_file extends HTML_QuickForm_input
movable: false,
zoomable: false,
rotatable: false,
scalable: ' . $scalable . ',
crop: function(event) {
scalable: '.$scalable.',
crop: function(e) {
// Output the result data for cropping image.
$input.val(event.detail.x + \',\' + event.detail.y + \',\' + event.detail.width + \',\' + event.detail.height);
}

@ -377,6 +377,8 @@ class Template
}
}
$name = str_replace('tpl', 'html.twig', $name);
return "default/$name";
}

Loading…
Cancel
Save