From eadc2ed02299da6e348a0650618681e77f73b6ec Mon Sep 17 00:00:00 2001 From: jrburke Date: Wed, 16 Feb 2011 10:43:25 -0800 Subject: [PATCH] Fix issue with url shortening not working, get proper mixing in of service options. --- dev/scripts/services.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dev/scripts/services.js b/dev/scripts/services.js index b3f07f0..54dc189 100644 --- a/dev/scripts/services.js +++ b/dev/scripts/services.js @@ -40,17 +40,16 @@ function (rdapi, object, TextCounter) { this.type = name.replace(/\s/g, '').toLowerCase(); this.tabName = this.type + 'Tab'; this.icon = 'i/' + this.type + 'Icon.png'; - this.shorten = false; this.autoCompleteWidget = null; // set features - this.features = options.features || { + this.features = { counter: false, direct: false, subject: false }; - object.mixin(this, options); + object.mixin(this, options, true); } SvcBase.constructor = SvcBase; SvcBase.prototype = {