Remember selected aspects when refreshing the page. #2120
This commit is contained in:
parent
2baa1e7c6e
commit
54b1da4bec
1 changed files with 4 additions and 0 deletions
|
|
@ -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");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue