Remove Cover image via double click
This commit is contained in:
parent
da39fd6ce8
commit
ae5e1fc59a
1 changed files with 7 additions and 0 deletions
|
@ -214,6 +214,13 @@
|
|||
enableBtnSave();
|
||||
});
|
||||
|
||||
$('#coverImagePreview').dblclick(function() {
|
||||
$('#coverImage').val('');
|
||||
$(this).attr('src', HTML_PATH_CORE_IMG + 'default.svg');
|
||||
var args = { coverImage: '' }
|
||||
savePage(args);
|
||||
});
|
||||
|
||||
// Modal description events
|
||||
// ------------------------------------------------------------------------
|
||||
$('#btnSaveDescription').on('click', function() {
|
||||
|
|
Loading…
Reference in a new issue