Merge branch 'master' of github.com:webnotes/wnframework

This commit is contained in:
Rushabh Mehta 2013-05-02 14:46:55 +05:30
commit 3424d4534a
2 changed files with 3 additions and 3 deletions

View file

@ -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);
};

View file

@ -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 {