Commit d53b87e3 authored by mbauskar's avatar mbauskar
Browse files

Merge branch 'hotfix'

parents 91e705e3 8d808253
Showing with 3 additions and 2 deletions
+3 -2
......@@ -14,7 +14,7 @@ import os, sys, importlib, inspect, json
from .exceptions import *
from .utils.jinja import get_jenv, get_template, render_template, get_email_from_template
__version__ = '8.5.0'
__version__ = '8.5.1'
__title__ = "Frappe Framework"
local = Local()
......
......@@ -272,10 +272,11 @@ frappe.ui.Page = Class.extend({
},
add_inner_button: function(label, action, group) {
var me = this;
let _action = function() {
let btn = $(this);
let response = action();
this.btn_disable_enable(btn, response);
me.btn_disable_enable(btn, response);
};
if(group) {
var $group = this.get_inner_group_button(group);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment