This question about Using an extension: Answered

Is there a way to Disable JavaScript editing?

This is two questions in one:

- We have a list of attached files to the topic. In the table created with EditRowPlugin I want to be able to select corresponding file (or a few files) per row (e.g. list of speakers and corresponding presentation), so before the table I do:

%CALC{$SET(filelist, %ATTACHMENTLIST{format="[[$fileUrl][$fileName]]" separator="$comma"}%)}%

and then for a certain column: | checkbox, 3, %CALC{$GET(filelist)}% |"

This in principle allows to check right file but Javascript EDIT fails to show the list correctly. In fact, using "edit row" shows not a $fileName but full [[$fileUrl][$fileName]].

- Is there another way to do the same thing?

- Can one disable Javascript editing completely?
Yes, sure. * Set EDITROWPLUGIN_JS = ignored will ignore JS (unless this setting is overriden locally in an EDITTABLE macro call).

-- CrawfordCurrie - 26 Jul 2011

QuestionForm edit

Subject Using an extension
Extension EditRowPlugin
Version Foswiki 1.1.3
Status Answered
Related Topics
Topic revision: r2 - 26 Jul 2011, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy