mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-26 20:17:18 +02:00
Move tpl and less to core
This commit is contained in:
@@ -212,7 +212,8 @@ define('forum/account/edit', ['forum/account/header', 'uploader', 'translator',
|
||||
}
|
||||
|
||||
function handleImageCrop(data) {
|
||||
templates.parse('partials/modals/crop_uploaded_picture', {url: data.url}, function (cropperHtml) {
|
||||
$('#crop-picture-modal').remove();
|
||||
templates.parse('modals/crop_picture', {url: data.url}, function (cropperHtml) {
|
||||
translator.translate(cropperHtml, function (translated) {
|
||||
var cropperModal = $(translated);
|
||||
cropperModal.modal('show');
|
||||
|
||||
Reference in New Issue
Block a user