Skip to content

Commit abf4ef9

Browse files
authored
Removed decorate*() js functions (#3410)
1 parent 11b7fd4 commit abf4ef9

File tree

109 files changed

+3
-238
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+3
-238
lines changed

app/design/frontend/base/default/template/bundle/catalog/product/list/partof.phtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,5 @@
3636
</tr>
3737
<?php endfor ?>
3838
</table>
39-
<script type="text/javascript">decorateTable('bundle-product-table')</script>
4039
</div>
4140
<?php endif ?>

app/design/frontend/base/default/template/catalog/layer/view.phtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
<?php endif ?>
4242
<?php endforeach ?>
4343
</dl>
44-
<script type="text/javascript">decorateDataList('narrow-by-list')</script>
4544
<?php endif ?>
4645
</div>
4746
</div>

app/design/frontend/base/default/template/catalog/navigation/left.phtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
</ol>
4343
</dd>
4444
</dl>
45-
<script type="text/javascript">decorateDataList('narrow-by-list2')</script>
4645
</div>
4746
</div>
4847
<?php endif ?>

app/design/frontend/base/default/template/catalog/product/compare/list.phtml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@ $_params = $this->escapeHtml(json_encode(['form_key' => $this->getFormKey()]));
167167
</span>
168168
</div>
169169
<script type="text/javascript">
170-
decorateTable('product_comparison');
171-
172170
/**
173171
* Send remove item request, after that reload windows
174172
*/

app/design/frontend/base/default/template/catalog/product/compare/sidebar.phtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ $_items = $_helper->getItemCount() > 0 ? $_helper->getItemCollection() : null;
3838
</li>
3939
<?php endforeach ?>
4040
</ol>
41-
<script type="text/javascript">decorateList('compare-items')</script>
4241
<div class="actions">
4342
<a href="<?php echo $_helper->getClearListUrl() ?>" onclick="return confirm('<?php echo Mage::helper('core')->quoteEscape($this->__('Are you sure you would like to remove all products from your comparison?')) ?>');"><?php echo $this->__('Clear All') ?></a>
4443
<button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Compare')) ?>" class="button" onclick="popWin('<?php echo $_helper->getListUrl() ?>','compare','top:0,left:0,width=820,height=600,resizable=yes,scrollbars=yes')"><?php echo $this->__('Compare') ?></button>

app/design/frontend/base/default/template/catalog/product/list.phtml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@
9494
</li>
9595
<?php endforeach ?>
9696
</ol>
97-
<script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
9897

9998
<?php else: ?>
10099

@@ -155,7 +154,6 @@
155154
</ul>
156155
<?php endif ?>
157156
<?php endforeach ?>
158-
<script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
159157
<?php endif ?>
160158

161159
<div class="toolbar-bottom">

app/design/frontend/base/default/template/catalog/product/list/related.phtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
</li>
4949
<?php endforeach ?>
5050
</ol>
51-
<script type="text/javascript">decorateList('block-related', 'none-recursive')</script>
5251
</div>
5352
<script type="text/javascript">
5453
//<![CDATA[

app/design/frontend/base/default/template/catalog/product/list/upsell.phtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,5 @@
3636
</tr>
3737
<?php endfor ?>
3838
</table>
39-
<script type="text/javascript">decorateTable('upsell-product-table')</script>
4039
</div>
4140
<?php endif ?>

app/design/frontend/base/default/template/catalog/product/view/attributes.phtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,4 @@
3737
<?php endforeach ?>
3838
</tbody>
3939
</table>
40-
<script type="text/javascript">decorateTable('product-attribute-specs-table')</script>
4140
<?php endif ?>

app/design/frontend/base/default/template/catalog/product/view/options/wrapper.phtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@
1919
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
2020
<?php endif ?>
2121
</div>
22-
<script type="text/javascript">decorateGeneric($$('#product-options-wrapper dl'), ['last']);</script>

0 commit comments

Comments
 (0)