wire/modules/Process/ProcessPageList/ProcessPageList.js
/**
			 * Update the currentOpenPageIDs list and cookie to reflect the current open pages
			 * 
			 */
Update the currentOpenPageIDs list and cookie to reflect the current open pages
Update the currentOpenPageIDs list and cookie to reflect the current open pages
function updateOpenPageIDs() {
				currentOpenPageIDs = [];
				$('.PageListItemOpen').each(function() {
					var id = $(this).data('pageId');
					var start = $(this).data('start');
					if(typeof start == "undefined" || start === null) {
						start = 0;
					} else {
						var start = parseInt(start);
					}
					if(jQuery.inArray(id, currentOpenPageIDs) == -1) {
						currentOpenPageIDs.push(id + '-' + start); 
					}
				});
				$.cookie('pagelist_open', currentOpenPageIDs);
			}
function updateOpenPageIDs ( ) { currentOpenPageIDs = [ ] ; $ ( '.PageListItemOpen' ) . each ( function ( ) { var id = $ ( this ) . data ( 'pageId' ) ; var start = $ ( this ) . data ( 'start' ) ; if ( typeof start == "undefined" || start === null ) { start = 0 ; } else { var start = parseInt ( start ) ; } if ( jQuery . inArray ( id , currentOpenPageIDs ) == - 1 ) { currentOpenPageIDs . push ( id + '-' + start ) ; } } ) ; $ . cookie ( 'pagelist_open' , currentOpenPageIDs ) ; }
Update the currentOpenPageIDs list and cookie to reflect the current open pages
Update the currentOpenPageIDs list and cookie to reflect the current open pages
// id.start // console.log(currentOpenPageIDs);