I am confused.

Normally to upgrade web2py you simply unzip the new over the old.
If you want to upgrade your own apps you can copy

controllers/appadmin.py
views/appadmin.html
views/web2py_ajax.html
static/js/*.js

from the new welcome into you your app.

You report this error: 

var data = editor.getValue();

But there is no editor in appadmin. Are you sure this is not something you 
include in your own layout?

On Tuesday, 2 August 2016 15:09:39 UTC-5, Tito Garrido wrote:
>
> Hi Folks,
>
> I am trying to upgrade my web2py from 2.5.1 to latest and the appadmin 
> text editor breaks... I have tried to get appadmin.html, layout.hmt and 
> some js files from the Welcome app but it still complains:
>
> TypeError: editor is undefined
>
> var data = editor.getValue();
>
>
> What is the best way to upgrade from 2.5.1 to latest?
>
> Regards,
>
> Tito
>
>
> -- 
>
> Linux User #387870
> .........____
> .... _/_õ|__|
> ..º[ .-.___.-._| . . . .
> .__( o)__( o).:_______
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to