Commit 6bfed83c authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

patches/PythonScript.py: patch showAsXML related methods.

parent e363bc5e
...@@ -50,3 +50,12 @@ PythonScript.manage = manage_editForm ...@@ -50,3 +50,12 @@ PythonScript.manage = manage_editForm
PythonScript.manage_main = manage_editForm PythonScript.manage_main = manage_editForm
PythonScript.manage_editDocument = manage_editForm PythonScript.manage_editDocument = manage_editForm
PythonScript.manage_editForm = manage_editForm PythonScript.manage_editForm = manage_editForm
# following methods are design for showAsXML function:
def pyscript_getBody(self):
return self._body
def pyscript_getParams(self):
return self._params
PythonScript.getBody = pyscript_getBody
PythonScript.getParams = pyscript_getParams
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