From f1affcdd3e403f2c02ca9759be929b929b8bd785 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 5 Feb 2016 09:38:21 +0000 Subject: [PATCH] Mobile theme W.I.P.: - Disable crm view default action for mobile --- addressbook/inc/class.addressbook_ui.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index a78a7f0c57..585c65a299 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -745,6 +745,8 @@ class addressbook_ui extends addressbook_bo { $actions['open']['onExecute'] = 'javaScript:app.addressbook.viewEntry'; $actions['open']['mobileViewTemplate'] = 'view.xet'; + $actions['view']['default'] = false; + $actions['open']['default'] = true; } //echo "

".__METHOD__."($do_email, $tid_filter, $org_view)

\n"; _debug_array($actions);