Merge branch 'master' of github.com:webnotes/wnframework
This commit is contained in:
commit
3424d4534a
2 changed files with 3 additions and 3 deletions
|
|
@ -1295,11 +1295,11 @@ _f.ButtonField.prototype.make_input = function() { var me = this;
|
|||
}
|
||||
|
||||
_f.ButtonField.prototype.hide = function() {
|
||||
$dh(this.button_area);
|
||||
$dh(this.wrapper);
|
||||
};
|
||||
|
||||
_f.ButtonField.prototype.show = function() {
|
||||
$ds(this.button_area);
|
||||
$ds(this.wrapper);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ def run(report_name, filters=None):
|
|||
+ ".report." + scrub(report.name) + "." + scrub(report.name) + ".execute"
|
||||
columns, result = webnotes.get_method(method_name)(filters or {})
|
||||
|
||||
if cint(report.add_total_row):
|
||||
if cint(report.add_total_row) and result:
|
||||
result = add_total_row(result, columns)
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue