Remove extra slash now that this url comes from Horde::getServiceLink
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 22 Jan 2010 23:58:39 +0000 (18:58 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 22 Jan 2010 23:58:39 +0000 (18:58 -0500)
Get rid of these locally defined variables that don't seem to be used

kronolith/js/kronolith.js

index 88d4189..a609e05 100644 (file)
@@ -63,13 +63,11 @@ KronolithCore = {
      *  instead of sending the action to the ajax handler. */
     doAction: function(action, params, callback, opts)
     {
-        var b, tmp = {};
-
         opts = Object.extend(this.doActionOpts, opts || {});
         params = $H(params);
         action = action.startsWith('*')
             ? action.substring(1)
-            : Kronolith.conf.URI_AJAX + '/' + action;
+            : Kronolith.conf.URI_AJAX + action;
         if (Kronolith.conf.SESSION_ID) {
             params.update(Kronolith.conf.SESSION_ID.toQueryParams());
         }