Remember selected aspects when refreshing the page. #2120

This commit is contained in:
Gonzalo Rodriguez 2011-10-07 03:23:45 -02:00
parent 2baa1e7c6e
commit 54b1da4bec

View file

@ -113,6 +113,10 @@
self.abortAjax(); self.abortAjax();
self.fadeOut(); self.fadeOut();
if (typeof(history.pushState) == 'function') {
history.pushState(null, document.title, newURL);
}
self.jXHR = $.getScript(newURL, function(data) { self.jXHR = $.getScript(newURL, function(data) {
var textarea = $("#publisher textarea"), var textarea = $("#publisher textarea"),
photozone = $("#photodropzone"); photozone = $("#photodropzone");