Fix hint being added to the notification test button texts

This commit is contained in:
mano3m
2012-07-25 00:09:13 +02:00
parent 2406e9ef85
commit 46c73dc43c
@@ -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;
}