now has ability to set public flag on bucket
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Jan 2006 20:25:55 +0000 (20:25 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Jan 2006 20:25:55 +0000 (20:25 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2774 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/container.js

index 9f24129..bd33a08 100644 (file)
@@ -30,12 +30,13 @@ function containerDelete( id, callback, args ) {
 }
 
 
-function containerCreate( name, callback, args ) {
+function containerCreate( name, public, callback, args ) {
 
        var container = new cbreb();
        container.btype('bookbag');
        container.owner( G.user.id() );
        container.name( name );
+       if(public) container.public(1);
 
        var req = new Request( 
                CREATE_CONTAINER, G.user.session, 'biblio', container );