select multiple records button style

This commit is contained in:
yuri
2019-09-20 15:09:26 +03:00
parent b58561e46f
commit e85f7a533f
2 changed files with 3 additions and 3 deletions
@@ -52,7 +52,7 @@ Espo.define('views/modals/select-category-tree-records', 'views/modals/select-re
if (this.multiple) {
this.buttonList.unshift({
name: 'select',
style: 'primary',
style: 'danger',
label: 'Select',
onClick: function (dialog) {
var listView = this.getView('list');
+2 -2
View File
@@ -26,7 +26,7 @@
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
Espo.define('views/modals/select-records', ['views/modal', 'search-manager'], function (Dep, SearchManager) {
define('views/modals/select-records', ['views/modal', 'search-manager'], function (Dep, SearchManager) {
return Dep.extend({
@@ -89,7 +89,7 @@ Espo.define('views/modals/select-records', ['views/modal', 'search-manager'], fu
if (this.multiple) {
this.buttonList.unshift({
name: 'select',
style: 'primary',
style: 'danger',
label: 'Select',
disabled: true,
onClick: function (dialog) {