Index: openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.tcl 20 Apr 2008 11:58:12 -0000 1.7 +++ openacs-4/packages/ajax-filestorage-ui/lib/ajaxfs-include.tcl 28 Jun 2008 07:06:38 -0000 1.8 @@ -98,10 +98,15 @@ lappend options "pathToFolder: new Array([ajaxfs::generate_path -folder_id $folder_id])" } - if { [exists_and_not_null public] || [permission::permission_p -no_login -no_cache -party_id [db_string "get_public" "select object_id from acs_magic_objects where name ='the_public'"] -object_id $package_id -privilege "read"] } { - lappend options "ispublic:true" - } + # if { [exists_and_not_null public] || [permission::permission_p -no_login -no_cache -party_id [db_string "get_public" "select object_id from acs_magic_objects where name ='the_public'"] -object_id $package_id -privilege "read"] } { + lappend options "ispublic:true" + # } + # notification type id + set notif_type_id [notification::type::get_type_id -short_name fs_fs_notif] + + lappend options "notif_type_id:\"$notif_type_id\"" + if { [exists_and_not_null layoutdiv] } { lappend options "layoutdiv:\"$layoutdiv\"" }