We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 94e7cb6 + 87b556d commit 4835c3cCopy full SHA for 4835c3c
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