From c82378fe0640d915e0ddbb572bd6ddfbbf57e062 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 16 Apr 2009 21:20:55 -0600 Subject: [PATCH] Unnecessary assignment. --- imp/js/src/DimpBase.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/imp/js/src/DimpBase.js b/imp/js/src/DimpBase.js index 1494a1473..dfbda6eb1 100644 --- a/imp/js/src/DimpBase.js +++ b/imp/js/src/DimpBase.js @@ -1876,8 +1876,6 @@ var DimpBase = { submbox = $(submboxid), ftype = ob.v ? (ob.co ? 'vcontainer' : 'virtual') : (ob.co ? 'container' : (ob.s ? 'special' : 'folder')); - li = new Element('LI', { className: 'folder', id: fid, l: label, mbox: mbox, ftype: ftype }); - div = new Element('DIV', { className: ob.cl || 'base', id: fid + '_div' }); if (ob.i) { div.setStyle({ backgroundImage: 'url("' + ob.i + '")' }); @@ -1886,7 +1884,7 @@ var DimpBase = { div.writeAttribute({ className: 'exp' }); } - li.insert(div).insert(new Element('A', { id: fid + '_label', title: label }).insert(label)); + li = new Element('LI', { className: 'folder', id: fid, l: label, mbox: mbox, ftype: ftype }).insert(div).insert(new Element('A', { id: fid + '_label', title: label }).insert(label)); // Now walk through the parent