Fix hint being added to the notification test button texts
This commit is contained in:
@@ -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