Fix hint being added to the notification test button texts
This commit is contained in:
1 parent
2406e9ef85
commit
46c73dc43c
1 file changed
+1
-1
@@ -216,7 +216,7 @@ var NotificationBase = new Class({
|
||||
},
|
||||
|
||||
testButtonName: function(fieldset){
|
||||
var name = fieldset.getElement('h2').get('text');
|
||||
var name = String(fieldset.getElement('h2').innerHTML).substring(0,String(fieldset.getElement('h2').innerHTML).indexOf("<span")); //.get('text');
|
||||
return 'Test '+name;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user