Skip to content

Commit

Permalink
Admin interface - edit tab module staibily
Browse files Browse the repository at this point in the history
Do not add serialized conditions to JSON string to prevent errors in ajax calls. Occurred at some environments.
  • Loading branch information
tangar76 committed Oct 8, 2018
1 parent 38cff97 commit b0c86af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/code/community/TM/EasyTabs/Block/Adminhtml/Edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ protected function _prepareLayout()

$model = Mage::registry('easytabs_tab');
$values = $model->getData();
unset($values['conditions_serialized']);
$values = isset($values['id']) ? Mage::helper('core')->jsonEncode($values) : 'false';
$this->_formScripts[] = "
function saveAndContinueEdit(){
Expand Down

0 comments on commit b0c86af

Please sign in to comment.