wire/modules/Process/ProcessPageList/ProcessPageList.js
/**
			 * Force refresh the list that pageID appears in
			 * 
			 * @param pageID
			 * @param animate
			 * 
			 */
Force refresh the list that pageID appears in

@param pageID
@param animate
Force refresh the list that pageID appears in @param pageID @param animate
function refreshList(pageID, animate) {
				var $parentList = $('.PageListID' + pageID).parent('.PageList');
				var $parentItem = $parentList.prev('.PageListItem');
				if(!$parentItem.length) return;
				var parentID = $parentItem.attr('class').match(/PageListID(\d+)/)[1];
				var start = 0;
				var $pagination = $parentList.children("ul." + options.paginationClass);
				var paginationInfo = $pagination.data('paginationInfo');
				var $removeItems = null;
				if(paginationInfo) {
					var $a = $pagination.find('.pw-link-active');
					if($a.length) start = parseInt($a.attr('href')) * paginationInfo.limit;
					if(start === NaN) start = 0;
				}
				if(parentID == 1) {
					$removeItems = $parentList.children();
					$parentList = $parentItem;
				}
				setForceReload($parentList);
				loadChildren(parentID, $parentList, start, false, true, true, function() {
					if($removeItems && $removeItems.length) $removeItems.remove();
				});
			}
function refreshList ( pageID , animate ) { var $parentList = $ ( '.PageListID' + pageID ) . parent ( '.PageList' ) ; var $parentItem = $parentList . prev ( '.PageListItem' ) ; if ( ! $parentItem . length ) return ; var parentID = $parentItem . attr ( 'class' ) . match ( / PageListID(\d+) / ) [ 1 ] ; var start = 0 ; var $pagination = $parentList . children ( "ul." + options . paginationClass ) ; var paginationInfo = $pagination . data ( 'paginationInfo' ) ; var $removeItems = null ; if ( paginationInfo ) { var $a = $pagination . find ( '.pw-link-active' ) ; if ( $a . length ) start = parseInt ( $a . attr ( 'href' ) ) * paginationInfo . limit ; if ( start === NaN ) start = 0 ; } if ( parentID == 1 ) { $removeItems = $parentList . children ( ) ; $parentList = $parentItem ; } setForceReload ( $parentList ) ; loadChildren ( parentID , $parentList , start , false , true , true , function ( ) { if ( $removeItems && $removeItems . length ) $removeItems . remove ( ) ; } ) ; }
Force refresh the list that pageID appears in
Force refresh the list that pageID appears in