[geeklog-hg] geeklog: Fixed to load "jquery-ui-i18n.js" only when jQuery UI d...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Tue Jan 22 06:14:44 EST 2013
changeset 8926:26e42df6947b
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/26e42df6947b
user: Kenji ITO <mystralkk at gmail.com>
date: Tue Jan 22 15:48:38 2013 +0900
description:
Fixed to load "jquery-ui-i18n.js" only when jQuery UI datepicker is used
diffstat:
plugins/calendar/functions.inc | 1 +
public_html/admin/plugins/calendar/index.php | 1 +
public_html/admin/story.php | 1 +
system/classes/scripts.class.php | 1 -
4 files changed, 3 insertions(+), 1 deletions(-)
diffs (44 lines):
diff -r bf988cbbf0f7 -r 26e42df6947b plugins/calendar/functions.inc
--- a/plugins/calendar/functions.inc Mon Jan 21 11:16:26 2013 -0500
+++ b/plugins/calendar/functions.inc Tue Jan 22 15:48:38 2013 +0900
@@ -735,6 +735,7 @@
// Loads jQuery UI datepicker
$_SCRIPTS->setJavaScriptLibrary('jquery.ui.datepicker');
+ $_SCRIPTS->setJavaScriptLibrary('jquery-ui-i18n');
$_SCRIPTS->setJavaScriptFile('datepicker', '/javascript/datepicker.js');
$langCode = COM_getLangIso639Code();
diff -r bf988cbbf0f7 -r 26e42df6947b public_html/admin/plugins/calendar/index.php
--- a/public_html/admin/plugins/calendar/index.php Mon Jan 21 11:16:26 2013 -0500
+++ b/public_html/admin/plugins/calendar/index.php Tue Jan 22 15:48:38 2013 +0900
@@ -80,6 +80,7 @@
// Loads jQuery UI datepicker
$_SCRIPTS->setJavaScriptLibrary('jquery.ui.datepicker');
+ $_SCRIPTS->setJavaScriptLibrary('jquery-ui-i18n');
$_SCRIPTS->setJavaScriptFile('datepicker', '/javascript/datepicker.js');
$langCode = COM_getLangIso639Code();
diff -r bf988cbbf0f7 -r 26e42df6947b public_html/admin/story.php
--- a/public_html/admin/story.php Mon Jan 21 11:16:26 2013 -0500
+++ b/public_html/admin/story.php Tue Jan 22 15:48:38 2013 +0900
@@ -725,6 +725,7 @@
// Loads jQuery UI datepicker
$_SCRIPTS->setJavaScriptLibrary('jquery.ui.datepicker');
+ $_SCRIPTS->setJavaScriptLibrary('jquery-ui-i18n');
$_SCRIPTS->setJavaScriptFile('datepicker', '/javascript/datepicker.js');
$langCode = COM_getLangIso639Code();
diff -r bf988cbbf0f7 -r 26e42df6947b system/classes/scripts.class.php
--- a/system/classes/scripts.class.php Mon Jan 21 11:16:26 2013 -0500
+++ b/system/classes/scripts.class.php Tue Jan 22 15:48:38 2013 +0900
@@ -206,7 +206,6 @@
$this->library_files['jquery.ui.widget']['load'] = true;
$this->library_files['jquery.ui.position']['load'] = true;
$this->library_files['jquery.ui.mouse']['load'] = true;
- $this->library_files['jquery-ui-i18n']['load'] = true;
if ($_CONF['cdn_hosted']) {
$this->jquery_cdn = true;
More information about the geeklog-cvs
mailing list