Author: doll
Date: Fri Mar 14 07:11:55 2008
New Revision: 637103
URL: http://svn.apache.org/viewvc?rev=637103&view=rev
Log:
SHINDIG-129 Fixed reference to undefined variable in getString
Modified:
incubator/shindig/trunk/features/core/prefs.js
Modified: incubator/shindig/trunk/features/core/prefs.js
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/core/prefs.js?rev=637103&r1=637102&r2=637103&view=diff
==============================================================================
--- incubator/shindig/trunk/features/core/prefs.js (original)
+++ incubator/shindig/trunk/features/core/prefs.js Fri Mar 14 07:11:55 2008
@@ -124,7 +124,7 @@
* @return {String} The preference; if not set, an empty string
*/
gadgets.Prefs.prototype.getString = function(key) {
- return prefs[key] ? gadgets.util.escapeString(val) : "";
+ return prefs[key] ? gadgets.util.escapeString(prefs[key]) : "";
};
/**