We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0f7bd7c + c786b6b commit 87b556dCopy full SHA for 87b556d
laboratory/resources/web/laboratory/panel/WorkbookHeaderPanel.js
@@ -86,8 +86,8 @@ Ext4.define('Laboratory.panel.WorkbookHeaderPanel', {
86
scope: this,
87
handler: function(btn){
88
Ext4.Msg.confirm('Remove Tag', 'Do you want to remove this tag?', function(val){
89
- if (val == 'yes'){
90
- this.tags.remove(btn.tag);
+ if (val === 'yes'){
+ Ext4.Array.remove(this.tags, btn.tag);
91
btn.destroy();
92
this.onUpdate();
93
}
0 commit comments