Merge branch 'hotfix/6.1.3'

This commit is contained in:
Yuri Kuznetsov
2021-02-13 19:27:47 +02:00
7 changed files with 49 additions and 3 deletions
@@ -7,6 +7,7 @@
"editQuick":"crm:views/knowledge-base-article/record/edit-quick",
"detailQuick":"crm:views/knowledge-base-article/record/detail-quick",
"detail":"crm:views/knowledge-base-article/record/detail",
"edit":"crm:views/knowledge-base-article/record/edit",
"list":"crm:views/knowledge-base-article/record/list"
},
"modalViews": {
@@ -26,10 +26,12 @@
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
Espo.define('crm:views/knowledge-base-article/record/detail', 'views/record/detail', function (Dep) {
define('crm:views/knowledge-base-article/record/detail', 'views/record/detail', function (Dep) {
return Dep.extend({
saveAndContinueEditingAction: true,
setup: function () {
Dep.prototype.setup.call(this);
@@ -0,0 +1,36 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2021 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
define('crm:views/knowledge-base-article/record/edit', 'views/record/edit', function (Dep) {
return Dep.extend({
saveAndContinueEditingAction: true,
});
});
@@ -32,6 +32,8 @@ define('views/email-template/record/detail', 'views/record/detail', function (De
duplicateAction: true,
saveAndContinueEditingAction: true,
setup: function () {
Dep.prototype.setup.call(this);
this.listenToInsertField();
@@ -26,15 +26,16 @@
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
Espo.define('views/email-template/record/edit', ['views/record/edit', 'views/email-template/record/detail'], function (Dep, Detail) {
define('views/email-template/record/edit', ['views/record/edit', 'views/email-template/record/detail'], function (Dep, Detail) {
return Dep.extend({
saveAndContinueEditingAction: true,
setup: function () {
Dep.prototype.setup.call(this);
Detail.prototype.listenToInsertField.call(this);
},
});
});
@@ -30,6 +30,8 @@ define('views/template/record/detail', 'views/record/detail', function (Dep) {
return Dep.extend({
saveAndContinueEditingAction: true,
setup: function () {
Dep.prototype.setup.call(this);
+2
View File
@@ -30,6 +30,8 @@ define('views/template/record/edit', 'views/record/edit', function (Dep) {
return Dep.extend({
saveAndContinueEditingAction: true,
setup: function () {
Dep.prototype.setup.call(this);