From e4dc7c1b7cbfaad895e06f1e32d998b141f06319 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 1 Dec 2016 14:30:51 +0300 Subject: [PATCH] [PE mobile] Fix checkbox changing. --- .../mobile/app/controller/edit/EditTable.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/presentationeditor/mobile/app/controller/edit/EditTable.js b/apps/presentationeditor/mobile/app/controller/edit/EditTable.js index b203e6fa9..610c837f5 100644 --- a/apps/presentationeditor/mobile/app/controller/edit/EditTable.js +++ b/apps/presentationeditor/mobile/app/controller/edit/EditTable.js @@ -134,12 +134,12 @@ define([ paletteFillColor = me.getView('EditTable').paletteFillColor, paletteBorderColor = me.getView('EditTable').paletteBorderColor; - $('#table-options-header-row input').single('click', _.bind(me.onCheckTemplateChange, me, 0)); - $('#table-options-total-row input').single('click', _.bind(me.onCheckTemplateChange, me, 1)); - $('#table-options-banded-row input').single('click', _.bind(me.onCheckTemplateChange, me, 2)); - $('#table-options-first-column input').single('click', _.bind(me.onCheckTemplateChange, me, 3)); - $('#table-options-last-column input').single('click', _.bind(me.onCheckTemplateChange, me, 4)); - $('#table-options-banded-column input').single('click', _.bind(me.onCheckTemplateChange, me, 5)); + $('#table-options-header-row input:checkbox').single('change', _.bind(me.onCheckTemplateChange, me, 0)); + $('#table-options-total-row input:checkbox').single('change', _.bind(me.onCheckTemplateChange, me, 1)); + $('#table-options-banded-row input:checkbox').single('change', _.bind(me.onCheckTemplateChange, me, 2)); + $('#table-options-first-column input:checkbox').single('change', _.bind(me.onCheckTemplateChange, me, 3)); + $('#table-options-last-column input:checkbox').single('change', _.bind(me.onCheckTemplateChange, me, 4)); + $('#table-options-banded-column input:checkbox').single('change', _.bind(me.onCheckTemplateChange, me, 5)); $('#edit-table-bordertypes a').single('click', _.bind(me.onBorderTypeClick, me));