Changeset 853
- Timestamp:
- 05/01/08 22:25:51 (3 months ago)
- Files:
-
- trunk/prototype/admin/javascripts/sitemap.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/prototype/admin/javascripts/sitemap.js
r852 r853 140 140 toggleBranch: function(row, img) { 141 141 if (!this.updating) { 142 var method = (this.isExpanded(row) ? 'hide' : 'show') + 'Branch'; 143 this[method](row, img); 142 if (this.isExpanded(row)) { 143 this.hideBranch(row, img); 144 } else { 145 this.showBranch(row, img); 146 } 144 147 } 145 148 }
