Subversion Repositories eFlore/Applications.del

Rev

Rev 1559 | Rev 1592 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1559 Rev 1562
Line 150... Line 150...
150
			if (pageInt != null) {
150
			if (pageInt != null) {
151
				setPageCouranteRechercheObservations(pageInt);
151
				setPageCouranteRechercheObservations(pageInt);
152
			}
152
			}
153
		}
153
		}
Line 154... Line 154...
154
		
154
		
155
		String tri = Location.getParameter("tri");		
155
		String tri = Location.getParameter("tri");
Line 156... Line 156...
156
		String ordre = Location.getParameter("ordre");
156
		String ordre = Location.getParameter("ordre");
157
		
157
		
158
		if (tri != null) {
158
		if (tri != null) {
Line 416... Line 416...
416
	
416
	
417
	private static native void mettreAJourUrlCouranteSansRecharger(String nouvelleUrl) /*-{
417
	private static native void mettreAJourUrlCouranteSansRecharger(String nouvelleUrl) /*-{
418
		// javascript double negative trick
418
		// javascript double negative trick
419
		// pour plus d'info http://stackoverflow.com/questions/4686583/can-someone-explain-this-double-negative-trick
419
		// pour plus d'info http://stackoverflow.com/questions/4686583/can-someone-explain-this-double-negative-trick
-
 
420
		if (!!($wnd.history && $wnd.history.pushState)) {
-
 
421
			var currentState = $wnd.history.state;
420
		if (!!($wnd.history && $wnd.history.pushState)) {
422
			if (currentState != nouvelleUrl) {
-
 
423
				$wnd.history.pushState(nouvelleUrl, "", nouvelleUrl);
421
			$wnd.history.pushState(nouvelleUrl, "", nouvelleUrl);
424
			}
422
		}
425
		}
423
	}-*/;
426
	}-*/;