Revision 795,
675 bytes
checked in by viani, 15 years ago
(diff) |
Ticket #488 - Inclusão do módulo workflow no ramo trunk do repositório Expresso.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | function show_messages(text) |
---|
2 | { |
---|
3 | messages.addText(text); |
---|
4 | } |
---|
5 | |
---|
6 | /* |
---|
7 | function phpeditor_checksyntax() |
---|
8 | { |
---|
9 | var chkSyntax = function(data) { |
---|
10 | show_messages(data); |
---|
11 | } |
---|
12 | var txtcode; |
---|
13 | |
---|
14 | txtcode = editor.getContents(); |
---|
15 | frmSend.code.value = txtcode; |
---|
16 | cExecuteFormData("$this.bo_editor.check_syntax",frmSend,chkSyntax); |
---|
17 | editor.setInputFocus(); |
---|
18 | } |
---|
19 | */ |
---|
20 | |
---|
21 | function phpeditor_salvar() |
---|
22 | { |
---|
23 | var hndSalvar = function(data) { |
---|
24 | show_messages(data); |
---|
25 | }; |
---|
26 | var txtcode; |
---|
27 | |
---|
28 | document.title = editor.window_title; |
---|
29 | txtcode = editor.getContents(); |
---|
30 | frmSend.code.value = txtcode; |
---|
31 | cExecuteFormData("$this.bo_editor.save_template_source",frmSend,hndSalvar); |
---|
32 | editor.setInputFocus(); |
---|
33 | editor.unsaved = false; |
---|
34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.