javascript/lib/amigo/ui/interactive.js
function _add_item(in_arg_key, data){

	var retval = false;
	if( typeof anchor.current_data[in_arg_key] == 'undefined' ){
	    // BUG/TODO: this should be a copy.
	    anchor.current_data[in_arg_key] = data;
	    //ll("add_item: adding key (w/data): " + in_arg_key);
	    retval = true;
	}
	return retval;
    }
function _add_item(in_arg_key, data){

	var retval = false;
	if( typeof anchor.current_data[in_arg_key] == 'undefined' ){
	    // BUG/TODO: this should be a copy.
	    anchor.current_data[in_arg_key] = data;
	    //ll("add_item: adding key (w/data): " + in_arg_key);
	    retval = true;
	}
	return retval;
    }
function _add_item ( in_arg_key , data ) { var retval = false ; if ( typeof anchor . current_data [ in_arg_key ] == 'undefined' ) { // BUG/TODO: this should be a copy. anchor . current_data [ in_arg_key ] = data ; //ll("add_item: adding key (w/data): " + in_arg_key); retval = true ; } return retval ; }
Add a new data item to the model.
Add a new data item to the model .