bind an event to form refresh

This commit is contained in:
Rushabh Mehta 2011-08-25 16:08:06 +05:30
parent 33bce67234
commit 9e6e7fa0ef
2 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,7 @@ def execute(patch_no):
from webnotes.model.doc import Document from webnotes.model.doc import Document
from webnotes.model import delete_doc from webnotes.model import delete_doc
elif patch_no == 301: if patch_no == 301:
from patches.delivery_billing_status_patch import run_patch from patches.delivery_billing_status_patch import run_patch
run_patch() run_patch()
elif patch_no == 302: elif patch_no == 302:

View File

@ -538,3 +538,5 @@ pscript.set_user_fullname = function(ele,username,get_latest){
// ==================================================================== // ====================================================================
startup_setup(); startup_setup();
$(document).bind('form_refresh', function() { })