mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX Making HTML5 History support optional, so we can disable HTML4 hash change fallback
This commit is contained in:
parent
8d3d71027e
commit
15e9d08eaa
@ -72,10 +72,8 @@
|
||||
button = this.find(':submit[name=action_doShowVersion]');
|
||||
url = ss.i18n.sprintf(metadata['link-tmpl-show'], id,to);
|
||||
}
|
||||
|
||||
window.History.pushState({selector: '.cms-edit-form'}, '', url);
|
||||
|
||||
return false;
|
||||
|
||||
$('.cms-container').loadPanel(url, '', {selector: '.cms-edit-form'});
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user