Przeglądaj źródła

Merge branch 'hotfix'

version-14
Nabin Hait 7 lat temu
rodzic
commit
5927c67130
2 zmienionych plików z 2 dodań i 2 usunięć
  1. +1
    -1
      frappe/__init__.py
  2. +1
    -1
      frappe/public/js/legacy/clientscriptAPI.js

+ 1
- 1
frappe/__init__.py Wyświetl plik

@@ -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__ = '9.2.21'
__version__ = '9.2.22'
__title__ = "Frappe Framework"

local = Local()


+ 1
- 1
frappe/public/js/legacy/clientscriptAPI.js Wyświetl plik

@@ -482,7 +482,7 @@ _f.Frm.prototype.make_new = function(doctype) {
if(this.make_methods && this.make_methods[doctype]) {
return this.make_methods[doctype](this);
} else if(this.custom_make_buttons && this.custom_make_buttons[doctype]) {
this.custom_buttons[this.custom_make_buttons[doctype]].trigger('click');
this.custom_buttons[__(this.custom_make_buttons[doctype])].trigger('click');
} else {
frappe.model.with_doctype(doctype, function() {
var new_doc = frappe.model.get_new_doc(doctype);


Ładowanie…
Anuluj
Zapisz