wire/modules/Process/ProcessPageList/ProcessPageList.js
/**
			 * Event called when the "select" link is clicked on in select mode
			 *
			 * This also triggers a 'pageSelected' event on the attached text input. 
			 *
			 * @see setupSelectMode()
			 *
			 */
Event called when the "select" link is clicked on in select mode
This also triggers a 'pageSelected' event on the attached text input.


Event called when the " select " link is clicked on in select mode This also triggers a ' pageSelected ' event on the attached text input .
function clickSelect() {
				var $t = $(this); 
				var $li = $t.parent('li').parent('ul.PageListActions').parent('.PageListItem'); 
				var id = $li.data('pageId');
				var $a = $li.children(".PageListPage"); 
				var title = $a.text();
				var url = $a.attr('title'); 
				var $header = $root.children(".PageListSelectHeader"); 
				if($t.text() == options.selectUnselectLabel) {
					id = 0; 
					title = '';
				}
				if(id != $container.val()) $container.val(id).change();
				if(options.selectShowPageHeader) { 
					$header.children(".PageListSelectName").text(title); 
				}
				$container.trigger('pageSelected', { 
					id: id, 
					url: url, 
					title: title, 
					a: $a 
				}); 	
				$header.find(".PageListSelectActionToggle").click(); 
				if(options.selectSelectHref == '#') return false; 
				return true; 
			}
function clickSelect ( ) { var $t = $ ( this ) ; var $li = $t . parent ( 'li' ) . parent ( 'ul.PageListActions' ) . parent ( '.PageListItem' ) ; var id = $li . data ( 'pageId' ) ; var $a = $li . children ( ".PageListPage" ) ; var title = $a . text ( ) ; var url = $a . attr ( 'title' ) ; var $header = $root . children ( ".PageListSelectHeader" ) ; if ( $t . text ( ) == options . selectUnselectLabel ) { id = 0 ; title = '' ; } if ( id != $container . val ( ) ) $container . val ( id ) . change ( ) ; if ( options . selectShowPageHeader ) { $header . children ( ".PageListSelectName" ) . text ( title ) ; } $container . trigger ( 'pageSelected' , { id : id , url : url , title : title , a : $a } ) ; $header . find ( ".PageListSelectActionToggle" ) . click ( ) ; if ( options . selectSelectHref == '#' ) return false ; return true ; }
Event called when the "select" link is clicked on in select mode
 This also triggers a 'pageSelected' event on the attached text input.
Event called when the " select " link is clicked on in select mode This also triggers a ' pageSelected ' event on the attached text input .
// if unselect link clicked, then blank out the values // trigger pageSelected event	 // close the list // jump to specified anchor, if provided