You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2014/07/14 23:21:38 UTC

[2/6] fauxton commit: updated refs/heads/import-master to 2d2cc24

remove unused configuration for resizable container


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/f4c64b06
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/f4c64b06
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/f4c64b06

Branch: refs/heads/import-master
Commit: f4c64b0660b4b0ae48233d998963737b8dfc40fa
Parents: 919442c
Author: Robert Kowalski <ro...@kowalski.gd>
Authored: Thu May 29 21:09:45 2014 +0200
Committer: Alexander Shorin <kx...@apache.org>
Committed: Mon Jul 14 12:39:06 2014 +0400

----------------------------------------------------------------------
 app/addons/fauxton/resizeColumns.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/f4c64b06/app/addons/fauxton/resizeColumns.js
----------------------------------------------------------------------
diff --git a/app/addons/fauxton/resizeColumns.js b/app/addons/fauxton/resizeColumns.js
index b2c938c..c1c96c5 100644
--- a/app/addons/fauxton/resizeColumns.js
+++ b/app/addons/fauxton/resizeColumns.js
@@ -25,7 +25,6 @@ function(FauxtonAPI) {
 
   var Resize = function(options){
     this.options = options;
-    this.options.selectorElements = options.selectorElements || ".window-resizeable";
   };
 
   Resize.prototype = {
@@ -49,7 +48,6 @@ function(FauxtonAPI) {
     updateOptions:function(options){
       this.options = {};
       this.options = options;
-      this.options.selectorElements = options.selectorElements || ".window-resizeable";
     },
     turnOff:function(){
       FauxtonAPI.utils.removeWindowResize("animation");
@@ -74,7 +72,7 @@ function(FauxtonAPI) {
           panelWidth = 1400;
         }
 
-        $(this.options.selectorElements).innerWidth(panelWidth);
+        $('.window-resizeable').innerWidth(panelWidth);
 
       }
       //if there is a callback, run that