Index: openacs-4/packages/xowiki/www/ckeditor-images/thumb-view.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/ckeditor-images/thumb-view.tcl,v diff -u -r1.8.2.1 -r1.8.2.2 --- openacs-4/packages/xowiki/www/ckeditor-images/thumb-view.tcl 7 Feb 2020 08:44:05 -0000 1.8.2.1 +++ openacs-4/packages/xowiki/www/ckeditor-images/thumb-view.tcl 6 Oct 2022 15:35:36 -0000 1.8.2.2 @@ -1,13 +1,9 @@ ad_page_contract { + Display image attachments of an XoWiki page + } { - {parent_id:naturalnum ""} -} -validate { - parent_id_exists -requires {parent_id} { - if {[xo::dc 0or1row object_exists "select item_id from cr_items where item_id = :parent_id"] == 0} { - ad_complain "Specified item does not exist" - } - } + parent_id:object_type(cr_item),notnull } set output ""