Clicking on a disabled dashboard button still executed the click.

This commit is contained in:
Boaz Leskes 2013-12-23 21:02:28 +01:00
parent 151b8f9e25
commit bb94d108ce

View file

@ -432,6 +432,9 @@ define([
a: row.display_name
};
});
if (rows.length == 0 ) {
return "javascript:;";
}
rows = JSON.stringify(rows);
var time = filterSrv.timeRange(false);
var show;