[Owncloud] Editing a text file in another application

Marco Dalla Vecchia mdallav at gmail.com
Tue May 14 08:42:33 UTC 2013


Hello everyone, I am developing an application for owncloud that allows a
user to launch a python script "in the cloud".
Since the user is allowed to edit the script to be launched, is there a way
to call the internal text file editor from another application ?
Right now I create a link to
/index.php/apps/files/download/path/to/file.py, but that link will just
download the file.
I tried to call from Javascript showFileEditor(dir,file), but that seems to
work only in the files application.
Is there a way to do this, aside of creating myself a <textarea> and a
"Save" button in my application ?
Thanks
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20130514/28fa95e0/attachment.html>


More information about the Owncloud mailing list