Fix primary buttons in alert (must be only one primary)

This commit is contained in:
Julia Radzhabova
2023-11-15 14:50:15 +03:00
parent 2073dc5536
commit ad3a1fa00a
3 changed files with 4 additions and 4 deletions

View File

@ -362,7 +362,7 @@ define([
title: this.toolbar.txtSorting,
msg: this.toolbar.txtExpandSort,
buttons: [ {caption: this.toolbar.txtExpand, primary: true, value: 'expand'},
{caption: this.toolbar.txtSortSelected, primary: true, value: 'sort'},
{caption: this.toolbar.txtSortSelected, value: 'sort'},
'cancel'],
callback: function(btn){
if (btn == 'expand' || btn == 'sort') {
@ -437,7 +437,7 @@ define([
title: this.txtRemDuplicates,
msg: this.txtExpandRemDuplicates,
buttons: [ {caption: this.txtExpand, primary: true, value: 'expand'},
{caption: this.txtRemSelected, primary: true, value: 'remove'},
{caption: this.txtRemSelected, value: 'remove'},
'cancel'],
callback: function(btn){
if (btn == 'expand' || btn == 'remove') {

View File

@ -516,7 +516,7 @@ define([
title: this.txtSorting,
msg: this.txtExpandSort,
buttons: [ {caption: this.txtExpand, primary: true, value: 'expand'},
{caption: this.txtSortSelected, primary: true, value: 'sort'},
{caption: this.txtSortSelected, value: 'sort'},
'cancel'],
callback: _.bind(function(btn){
if (btn == 'expand' || btn == 'sort') {

View File

@ -1382,7 +1382,7 @@ define([
title: this.txtSorting,
msg: this.txtExpandSort,
buttons: [ {caption: this.txtExpand, primary: true, value: 'expand'},
{caption: this.txtSortSelected, primary: true, value: 'sort'},
{caption: this.txtSortSelected, value: 'sort'},
'cancel'],
callback: function(btn){
if (btn == 'expand' || btn == 'sort') {