Commit 34adee89 authored by Kristina Hoeppner's avatar Kristina Hoeppner

Menus: Change checkboxes to switchboxes (Bug 1431569)

Change-Id: I1dacc4a89d55b3c882cf47da109e0f5ac9e92530
Signed-off-by: Kristina Hoeppner's avatarKristina D.C. Hoeppner <kristina@catalyst.net.nz>
parent 586fdcd6
......@@ -269,7 +269,7 @@ $activeurls = $activeurls ? unserialize($activeurls) : null;
$footerelements = array();
foreach ($all as $k => $v) {
$footerelements[$k] = array(
'type' => 'checkbox',
'type' => 'switchbox',
'title' => $v['title'],
'defaultvalue' => in_array($k, $active),
'onclick' => "getElement('footerlinks_{$k}_link').disabled = !this.checked;",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment