[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linterna-magica-commit] [383] Better cleaning of the "garbage" (users p
From: |
Ivaylo Valkov |
Subject: |
[linterna-magica-commit] [383] Better cleaning of the "garbage" (users point of view) left in the |
Date: |
Tue, 01 Jan 2013 15:06:12 +0000 |
Revision: 383
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=383
Author: valkov
Date: 2013-01-01 15:06:08 +0000 (Tue, 01 Jan 2013)
Log Message:
-----------
Better cleaning of the "garbage" (users point of view) left in the
address bar when a JSONP request is finished. This is needed because
of the execution of JSONP requests in a separate frame/object tag,
which is done for separation of the main website - privacy issues.
The new method just goes back one item in the browser history.
Modified Paths:
--------------
trunk/src/lm_jsonp_requests.js
Modified: trunk/src/lm_jsonp_requests.js
===================================================================
--- trunk/src/lm_jsonp_requests.js 2013-01-01 13:42:47 UTC (rev 382)
+++ trunk/src/lm_jsonp_requests.js 2013-01-01 15:06:08 UTC (rev 383)
@@ -151,7 +151,8 @@
window.location.toString().split("&linterna_magica");
// Clear our data from the address field
- window.location = jsonp_data[0]+jsonp_data[jsonp_data.length-1];
+ // window.location = jsonp_data[0]+jsonp_data[jsonp_data.length-1];
+ history.go(-1);
// Cleanup the checker object/frame
var o = document.getElementById(data.frame_id);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [linterna-magica-commit] [383] Better cleaning of the "garbage" (users point of view) left in the,
Ivaylo Valkov <=