Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX: remove form auto-detection from the generic JS state handler.

Forms take care of PJAX state on their own in the submit and load functions (os-7126)
  • Loading branch information...
commit 452a507cc9fe648975bd7dbb2676d972add689ef 1 parent 6a10ed1
@mateusz mateusz authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  admin/javascript/LeftAndMain.js
View
3  admin/javascript/LeftAndMain.js
@@ -213,9 +213,6 @@ jQuery.noConflict();
var headers = {};
if(state.data.pjax) {
headers['X-Pjax'] = state.data.pjax;
- } else if(contentEl[0] != null && contentEl.is('form')) {
- // Replace a form
- headers["X-Pjax"] = 'CurrentForm';
} else {
// Replace full RHS content area
headers["X-Pjax"] = 'Content';
Please sign in to comment.
Something went wrong with that request. Please try again.