mirror of
https://github.com/avecms/AVE.cms.git
synced 2025-01-22 07:20:07 +00:00
Fixes
This commit is contained in:
parent
db68f67b25
commit
875de048e0
@ -226,7 +226,7 @@
|
||||
|
||||
<!-- Копировать -->
|
||||
{if $item->cantEdit==1 && $item->Id != 1 && $item->Id != $PAGE_NOT_FOUND_ID}
|
||||
<a class="topDir CopyDocs floatleft" title="{#DOC_COPY#}" href="index.php?do=docs&action=copy&rubric_id={$item->rubric_id}&Id={$item->Id}&cp={$sess}">
|
||||
<a class="topDir documentCopy floatleft" title="{#DOC_COPY#}" href="index.php?do=docs&action=copy&rubric_id={$item->rubric_id}&Id={$item->Id}&cp={$sess}">
|
||||
<span class="icon_sprite_doc icon_copy"></span>
|
||||
</a>
|
||||
{/if}
|
||||
|
@ -14,6 +14,7 @@ var AveDocs = {
|
||||
//
|
||||
list: function () {
|
||||
this.addDocument();
|
||||
this.documentCopy();
|
||||
this.selectAllDocuments();
|
||||
this.documentAction();
|
||||
this.documentPublish();
|
||||
@ -171,7 +172,7 @@ var AveDocs = {
|
||||
|
||||
//
|
||||
documentCopy: function () {
|
||||
$(".CopyDocs").on('click', function (event) {
|
||||
$(".documentCopy").on('click', function (event) {
|
||||
event.preventDefault();
|
||||
|
||||
let href = $(this).attr('href');
|
||||
@ -183,8 +184,7 @@ var AveDocs = {
|
||||
} else {
|
||||
$.jGrowl(copy_doc_no, {theme: 'error'});
|
||||
}
|
||||
}
|
||||
);
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user