summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-11-10 05:23:01 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-11-10 05:23:01 +0000
commit0762f6007378a79d53951baf79cf8a5fac7a7489 (patch)
tree091cbb8ca9fb02e0f8c1eae7cc42dfc005b7eb3f /modules/system/system.admin.inc
parent9020a9a20130ac2712f2a7406ee34ed9c39064d1 (diff)
downloadbrdo-0762f6007378a79d53951baf79cf8a5fac7a7489.tar.gz
brdo-0762f6007378a79d53951baf79cf8a5fac7a7489.tar.bz2
#315798 by Rob Loach, mfer, Grugnog2, and sun: Add weighting to drupal_add_js().
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r--modules/system/system.admin.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 48c901293..03db7b683 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -1528,7 +1528,7 @@ function system_rss_feeds_settings() {
* @see system_date_time_settings_submit()
*/
function system_date_time_settings() {
- drupal_add_js(drupal_get_path('module', 'system') . '/system.js', 'module');
+ drupal_add_js(drupal_get_path('module', 'system') . '/system.js');
drupal_add_js(array('dateTime' => array('lookup' => url('admin/settings/date-time/lookup'))), 'setting');
// Date settings:
@@ -1736,7 +1736,7 @@ function system_clean_url_settings() {
if (!variable_get('clean_url', 0)) {
if (strpos(request_uri(), '?q=') !== FALSE) {
- drupal_add_js(drupal_get_path('module', 'system') . '/system.js', 'module');
+ drupal_add_js(drupal_get_path('module', 'system') . '/system.js');
$form['clean_url']['#description'] .= ' <span>' . t('Before enabling clean URLs, you must perform a test to determine if your server is properly configured. If you are able to see this page again after clicking the "Run the clean URL test" link, the test has succeeded and the radio buttons above will be available. If instead you are directed to a "Page not found" error, you will need to change the configuration of your server. The <a href="@handbook">handbook page on Clean URLs</a> has additional troubleshooting information.', array('@handbook' => 'http://drupal.org/node/15365')) . '</span>';