projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM-15003 - Allow autocomplete to select closed cases
[civicrm-core.git]
/
CRM
/
SMS
/
Page
/
Provider.php
diff --git
a/CRM/SMS/Page/Provider.php
b/CRM/SMS/Page/Provider.php
index 9811cfa001b8d1b2cccbfe1540e4340b3f745eac..7491ab30fe4568921c41ae35d5bd080b95ce431e 100644
(file)
--- a/
CRM/SMS/Page/Provider.php
+++ b/
CRM/SMS/Page/Provider.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
4
|
+ | CiviCRM version 4.
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
3
+ * @copyright CiviCRM LLC (c) 2004-201
4
* $Id$
*
*/
* $Id$
*
*/
@@
-38,6
+38,8
@@
*/
class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic {
*/
class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic {
+ public $useLivePageJS = TRUE;
+
/**
* The action links that we need to display for the browse screen
*
/**
* The action links that we need to display for the browse screen
*
@@
-124,12
+126,13
@@
class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic {
/**
* Browse all Providers.
*
/**
* Browse all Providers.
*
+ * @param null $action
+ *
* @return void
* @access public
* @static
*/
function browse($action = NULL) {
* @return void
* @access public
* @static
*/
function browse($action = NULL) {
- CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'js/crm.livePage.js');
$providers = CRM_SMS_BAO_Provider::getProviders();
$rows = array();
foreach ($providers as $provider) {
$providers = CRM_SMS_BAO_Provider::getProviders();
$rows = array();
foreach ($providers as $provider) {
@@
-179,6
+182,8
@@
class CRM_SMS_Page_Provider extends CRM_Core_Page_Basic {
/**
* Get user context.
*
/**
* Get user context.
*
+ * @param null $mode
+ *
* @return string user context.
*/
function userContext($mode = NULL) {
* @return string user context.
*/
function userContext($mode = NULL) {