mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 20:54:03 +00:00
Merge pull request #367 from ChrisBr/fix_js_error
Enables poltergeist and fixes js error on dashboard
This commit is contained in:
commit
3e5a089eb1
2 changed files with 5 additions and 5 deletions
|
|
@ -78,7 +78,11 @@ $(function() {
|
|||
var options = {};
|
||||
options.fillColor = "rgba(255,255,255,0.0)";
|
||||
options.strokeColor = conferences[i].color;
|
||||
options.data = chart_data[conferences[i].short_title];
|
||||
if(options.data == null || options.data.length == 0){
|
||||
options.data = [0];
|
||||
}else{
|
||||
options.data = chart_data[conferences[i].short_title];
|
||||
}
|
||||
result.push(options)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue