external/bbop.js
function _get_selected(){
    	var ret_list = [];
	var selected_strings =
	    jQuery('#'+ sul_id).sortable('toArray', {'attribute': 'value'});
    	each(selected_strings,
    	     function(in_thing){
		 if( in_thing && in_thing != '' ){
		     ret_list.push(in_thing);
		 }
	     });
	return ret_list;
    }
function _get_selected(){
    	var ret_list = [];
	var selected_strings =
	    jQuery('#'+ sul_id).sortable('toArray', {'attribute': 'value'});
    	each(selected_strings,
    	     function(in_thing){
		 if( in_thing && in_thing != '' ){
		     ret_list.push(in_thing);
		 }
	     });
	return ret_list;
    }
function _get_selected ( ) { var ret_list = [ ] ; var selected_strings = jQuery ( '#' + sul_id ) . sortable ( 'toArray' , { 'attribute' : 'value' } ) ; each ( selected_strings , function ( in_thing ) { if ( in_thing && in_thing != '' ) { ret_list . push ( in_thing ) ; } } ) ; return ret_list ; }
Helper function to pull the values. Currently, JQuery adds a lot of extra non-attributes li tags when it creates the DnD, so filter those out to get just the fields ids.
Helper function to pull the values . Currently JQuery adds a lot of extra non - attributes li tags when it creates the DnD so filter those out to get just the fields ids .