Lines Matching refs:newpage
61 * @param {String} newpage - The new page URL.
65 this.getSwitchId = function(newpage, force) {
67 var pageid = newpage.substr(1).replace(/.*doku.php(\?id=|\/)/, '').replace(/\//g, ':');
117 * @param {String} newpage - The URL of the new page.
119 this.switchBasePath = function(newpage) {
121 var pageinfo = this.getSwitchId(newpage);
140 // TODO: Need to have newpage in non-switch case to get history for other actions.
141 m_curBaseUrl = base(newpage); //TODO: Always?
148 //if (m_viewMode == 'show' && newpage == prevpage)
154 history.pushState({url: newpage, title: document.title}, "", newpage);