Index: openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/file-selector.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/Attic/file-selector.adp,v diff -u -r1.1.2.3 -r1.1.2.4 --- openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/file-selector.adp 17 Nov 2016 16:19:57 -0000 1.1.2.3 +++ openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/file-selector.adp 28 Nov 2016 19:45:46 -0000 1.1.2.4 @@ -94,7 +94,7 @@ @HTML_Legend@
@up_name@
@folder_name@
@@ -152,7 +152,3 @@ - - - - Index: openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/insert-ilink.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/Attic/insert-ilink.adp,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/insert-ilink.adp 3 Jan 2016 20:52:00 -0000 1.1.2.1 +++ openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/insert-ilink.adp 28 Nov 2016 19:45:46 -0000 1.1.2.2 @@ -1,9 +1,8 @@ - - - #acs-templating.HTMLArea_InsertModifyLink# + + #acs-templating.HTMLArea_InsertModifyLink# @@ -165,7 +164,7 @@ - +
#acs-templating.HTMLArea_InsertModifyLink#
@@ -188,7 +187,7 @@ - + #acs-templating.HTMLArea_OpenFileStorage# @@ -197,14 +196,9 @@   - - + + - - - - - Index: openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/insert-ilink.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/Attic/insert-ilink.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/insert-ilink.tcl 3 Jan 2016 20:52:00 -0000 1.1.2.1 +++ openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/insert-ilink.tcl 28 Nov 2016 19:45:46 -0000 1.1.2.2 @@ -11,13 +11,30 @@ set selector_type "file" set file_selector_link [export_vars -base file-selector \ - {fs_package_id folder_id selector_type file_types}] + {fs_package_id folder_id selector_type file_types}] set fs_found 1 -ad_return_template +## Add event handlers + +template::add_event_listener -id "body" -event "load" -script { + Init(); +} +template::add_event_listener -id "file_selector_button" -script { + openFileSelector(); +} +template::add_event_listener -id "ok_button" -script { + onOK(); +} +template::add_event_listener -id "cancel_button" -script { + onCancel(); +} + +## + + # Local variables: # mode: tcl -# tcl-indent-level: 4 +# tcl-indent-level: 2 # indent-tabs-mode: nil # End: Index: openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/insert-image.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/Attic/insert-image.adp,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/insert-image.adp 3 Jan 2016 20:52:01 -0000 1.1.2.1 +++ openacs-4/packages/richtext-xinha/www/resources/xinha-nightly/plugins/OacsFs/popups/insert-image.adp 28 Nov 2016 19:45:46 -0000 1.1.2.2 @@ -1,14 +1,13 @@ - - - #acs-templating.HTMLArea_InsertImageTitle# + + #acs-templating.HTMLArea_InsertImageTitle#