mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX Inspecting for AjaxSwitchView after form load, not before ajax request (in LeftAndMain.js)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@115065 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5bdfad6ae8
commit
b22a37da6c
@ -390,7 +390,7 @@ var ss_MainLayout;
|
||||
onmatch: function() {
|
||||
this._super();
|
||||
|
||||
$('#Form_EditForm').bind('load delete', function(e) {
|
||||
$('#Form_EditForm').bind('loadnewpage delete', function(e) {
|
||||
var updatedSwitchView = $('#AjaxSwitchView');
|
||||
if(updatedSwitchView.length) {
|
||||
$('#SwitchView').html(updatedSwitchView.html());
|
||||
|
Loading…
Reference in New Issue
Block a user