Skip to content
Permalink
Browse files

Fix EZP-21124: Checkbox custom attributes on custom tags are not stored

  • Loading branch information...
dpobel committed Feb 28, 2014
1 parent feffe1c commit 38d83f775b930d14d426d7dc01c0dc2d7fae0d0a
Showing with 2 additions and 2 deletions.
  1. +2 −2 extension/ezoe/design/standard/javascript/ezoe/popup_utils.js
@@ -451,7 +451,7 @@ var eZOEPopupUtils = {
{
var o = jQuery( el ), name = o.attr("name"), value, style;
if ( o.hasClass('mceItemSkip') || !name ) return;
if ( o.attr("type") === 'checkbox' && !o.attr("checked") ) return;
if ( o.attr("type") === 'checkbox' && !o.prop("checked") ) return;

// see if there is a save hander that needs to do some work on the value
if ( handler[el.id] !== undefined && handler[el.id].call !== undefined )
@@ -486,7 +486,7 @@ var eZOEPopupUtils = {
{
var o = jQuery( el ), name = o.attr("name");
if ( o.hasClass('mceItemSkip') || !name ) return;
if ( o.attr("type") === 'checkbox' && !o.attr("checked") ) return;
if ( o.attr("type") === 'checkbox' && !o.prop("checked") ) return;
// see if there is a save hander that needs to do some work on the value
if ( handler[el.id] !== undefined && handler[el.id].call !== undefined )
args[name] = handler[el.id].call( o, el, o.val() );

0 comments on commit 38d83f7

Please sign in to comment.
You can’t perform that action at this time.