Added latest compiled JS files
This commit is contained in:
parent
69a7a4e0ab
commit
a1aeb6b9ef
@ -22576,6 +22576,35 @@ function EditPhotosViewModel(album_id, language, urls) {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
replacePhoto: function (e) {
|
||||||
|
var self = this;
|
||||||
|
|
||||||
|
this.selectPhotoSingle(e.target);
|
||||||
|
var parent = $(e.target).closest('.photo');
|
||||||
|
|
||||||
|
bootbox.dialog({
|
||||||
|
message: $('<p/>').html(language.replace_image_message).prop('outerHTML') +
|
||||||
|
$('#replace-image-form').clone().removeAttr('style').attr('id', 'replace-image-form-visible').prop('outerHTML'),
|
||||||
|
title: language.replace_image_title,
|
||||||
|
buttons: {
|
||||||
|
cancel: {
|
||||||
|
label: language.action_cancel,
|
||||||
|
className: 'btn-secondary'
|
||||||
|
},
|
||||||
|
confirm: {
|
||||||
|
label: language.action_continue,
|
||||||
|
className: 'btn-success',
|
||||||
|
callback: function () {
|
||||||
|
$('input[name="photo_id"]', '#replace-image-form-visible').val(self.photoIDs[0]);
|
||||||
|
$('#replace-image-form-visible').submit();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
e.preventDefault();
|
||||||
|
return false;
|
||||||
|
},
|
||||||
rotate: function (angle, parent) {
|
rotate: function (angle, parent) {
|
||||||
var url = urls.rotate_photo;
|
var url = urls.rotate_photo;
|
||||||
url = url.replace('/0/', '/' + this.photoIDs[0] + '/');
|
url = url.replace('/0/', '/' + this.photoIDs[0] + '/');
|
||||||
|
2
public/js/blue-twilight.min.js
vendored
2
public/js/blue-twilight.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user