MDL-49782 general: removed uses of window.status

This commit is contained in:
Brian Barnes
2015-04-08 11:49:06 +12:00
parent 1d3fd63f97
commit 8b3a10438f
4 changed files with 3 additions and 12 deletions

View File

@@ -61,7 +61,7 @@ YUI.add('moodle-form-checkboxcontroller', function(Y) {
var controllerbutton = Y.one(controllerbutton);
var linkname = controllerbutton.get('value');
// Link node which will replace controller button
var link = Y.Node.create('<a href="#" onmouseover="window.status=\''+linkname+'\';" onmouseout="window.status=\'\';">'+linkname+'</a>');
var link = Y.Node.create('<a href="#">'+linkname+'</a>');
// Attach onclick event to link
link.on('click', this.onClick, this);