What steps will reproduce the problem? 1. edit a py file in the admin section
click the text input area in editarea
press Ctrl-S or click Save button What is the expected output? What do you see instead? Expected: code is saved. See: Browser's save dialog (CTRL-S), nothing happens (click on button) What version of the product are you using? On what operating system? 1.92.1 Please provide any additional information below. Link to JavaScript file "ajax_editor.js" is wrong. I have installed web2py as Apache WSGI not in /', but in/2'. That JS link still points to "/{app}}/static/js/ajax_editor.js". Link to edit_area_full.js is correct.
PROPOSED SOLUTION:
In template "default/edit" I have prepended 'script_name' to the JS link, like this:
From dirkyd...@gmx.net on February 17, 2011 02:54:04
What steps will reproduce the problem? 1. edit a py file in the admin section
/', but in
/2'. That JS link still points to "/{app}}/static/js/ajax_editor.js". Link to edit_area_full.js is correct.PROPOSED SOLUTION: In template "default/edit" I have prepended 'script_name' to the JS link, like this:
It works now.
Original issue: http://code.google.com/p/web2py/issues/detail?id=194