summaryrefslogtreecommitdiff
path: root/misc/form.js
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-09 12:24:53 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-09 12:24:53 +0000
commit459d623467a23d8deda42620eb9be7992d5cfd24 (patch)
treed4807ff4cfccd52634e7c0785649e1eae52708cd /misc/form.js
parent70d60fb88fb90a84fa06de5dff97c16dc3b43956 (diff)
downloadbrdo-459d623467a23d8deda42620eb9be7992d5cfd24.tar.gz
brdo-459d623467a23d8deda42620eb9be7992d5cfd24.tar.bz2
- Patch #445130 by Rob Loach, aspilicious: namespace the Drupal jQuery functions.
Diffstat (limited to 'misc/form.js')
-rw-r--r--misc/form.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/form.js b/misc/form.js
index 0aa379fee..919037729 100644
--- a/misc/form.js
+++ b/misc/form.js
@@ -4,7 +4,7 @@
/**
* Retrieves the summary for the first element.
*/
-$.fn.getSummary = function () {
+$.fn.drupalGetSummary = function () {
var callback = this.data('summaryCallback');
return (this[0] && callback) ? $.trim(callback(this[0])) : '';
};
@@ -16,7 +16,7 @@ $.fn.getSummary = function () {
* Either a function that will be called each time the summary is
* retrieved or a string (which is returned each time).
*/
-$.fn.setSummary = function (callback) {
+$.fn.drupalSetSummary = function (callback) {
var self = this;
// To facilitate things, the callback should always be a function. If it's