Browse files

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
  • Loading branch information...
1 parent 5bdfad6 commit b22a37da6c6caa9629b153bd85b52458d3337842 @chillu chillu committed Dec 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/LeftAndMain.js
View
2 javascript/LeftAndMain.js
@@ -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());

0 comments on commit b22a37d

Please sign in to comment.