[web2py] Re: EditArea not working in 2.3.2

2013-01-30 Thread Massimo Di Pierro
We do not support editarea any more in admin. What are you trying to do?

On Wednesday, January 30, 2013 10:51:45 AM UTC-6, seank wrote:

 Just installed 2.3.2, added EditArea. When I go to edit files, it gives me 
 this error:

 Uncaught ReferenceError: area is undefined
 // default/edit.html 228
 scriptwindow.textarea = area.textarea;/script

 So it seems ajax_editor's getData() fails to get the data from the editor 
 and save will replace the file content with the word 'undefined'.


-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: EditArea not working in 2.3.2

2013-01-30 Thread seank
deleted double post

On Wednesday, January 30, 2013 1:56:50 PM UTC-5, Massimo Di Pierro wrote:

 We do not support editarea any more in admin. What are you trying to do?

 On Wednesday, January 30, 2013 10:51:45 AM UTC-6, seank wrote:

 Just installed 2.3.2, added EditArea. When I go to edit files, it gives 
 me this error:

 Uncaught ReferenceError: area is undefined
 // default/edit.html 228
 scriptwindow.textarea = area.textarea;/script

 So it seems ajax_editor's getData() fails to get the data from the editor 
 and save will replace the file content with the word 'undefined'.



-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: EditArea not working in 2.3.2

2013-01-30 Thread seank
I should've deleted the previous one..

Anyways, the issue is I use the online editor often and the current default 
editor (codemirror) seems too buggy:
constantly jumping back to the top, can't disable syntax highlight, wrap 
lines, etc..

It's fine if EditArea is not supported anymore. Ace will do. Thanks.

On Wednesday, January 30, 2013 2:56:57 PM UTC-5, seank wrote:

 deleted double post

 On Wednesday, January 30, 2013 1:56:50 PM UTC-5, Massimo Di Pierro wrote:

 We do not support editarea any more in admin. What are you trying to do?

 On Wednesday, January 30, 2013 10:51:45 AM UTC-6, seank wrote:

 Just installed 2.3.2, added EditArea. When I go to edit files, it gives 
 me this error:

 Uncaught ReferenceError: area is undefined
 // default/edit.html 228
 scriptwindow.textarea = area.textarea;/script

 So it seems ajax_editor's getData() fails to get the data from the 
 editor and save will replace the file content with the word 'undefined'.



-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: EditArea not working in 2.3.2

2013-01-30 Thread Massimo Di Pierro
Please tell us more. We are not aware of any codemirror issue. What browser 
do you use? which web2py version?

On Wednesday, January 30, 2013 2:13:22 PM UTC-6, seank wrote:

 I should've deleted the previous one..

 Anyways, the issue is I use the online editor often and the current 
 default editor (codemirror) seems too buggy:
 constantly jumping back to the top, can't disable syntax highlight, wrap 
 lines, etc..

 It's fine if EditArea is not supported anymore. Ace will do. Thanks.

 On Wednesday, January 30, 2013 2:56:57 PM UTC-5, seank wrote:

 deleted double post

 On Wednesday, January 30, 2013 1:56:50 PM UTC-5, Massimo Di Pierro wrote:

 We do not support editarea any more in admin. What are you trying to do?

 On Wednesday, January 30, 2013 10:51:45 AM UTC-6, seank wrote:

 Just installed 2.3.2, added EditArea. When I go to edit files, it gives 
 me this error:

 Uncaught ReferenceError: area is undefined
 // default/edit.html 228
 scriptwindow.textarea = area.textarea;/script

 So it seems ajax_editor's getData() fails to get the data from the 
 editor and save will replace the file content with the word 'undefined'.



-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.