fixed filename issue in downloadify export
This commit is contained in:
parent
2330ed20c8
commit
f300ce4faa
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ wn.markdown = function(txt) {
|
|||
return wn.md2html.makeHtml(txt);
|
||||
}
|
||||
|
||||
wn.downloadify = function(data, roles) {
|
||||
wn.downloadify = function(data, roles, me) {
|
||||
if(roles && roles.length && !has_common(roles, user_roles)) {
|
||||
msgprint("Export not allowed. You need " + wn.utils.comma_or(roles)
|
||||
+ " Role to export.");
|
||||
|
|
|
|||
|
|
@ -367,7 +367,7 @@ wn.views.GridReport = Class.extend({
|
|||
},
|
||||
export: function() {
|
||||
wn.downloadify(wn.slickgrid_tools.get_view_data(this.columns, this.dataView),
|
||||
["Report Manager", "System Manager"]);
|
||||
["Report Manager", "System Manager"], this);
|
||||
return false;
|
||||
},
|
||||
apply_filters: function(item) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue