Skip to content

Commit

Permalink
Merge branch 'main' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano committed Sep 19, 2023
2 parents 787c1ea + df74ac1 commit 0f23ffd
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 31 deletions.
5 changes: 4 additions & 1 deletion app/code/core/Mage/Adminhtml/Block/Catalog/Product/Grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,10 @@ protected function _prepareColumns()
]
);

if (Mage::helper('catalog')->isModuleEnabled('Mage_Rss')) {
if (Mage::helper('catalog')->isModuleEnabled('Mage_Rss') &&
Mage::helper('rss')->isRssEnabled() &&
Mage::getStoreConfigFlag('rss/catalog/notifystock')
) {
$this->addRssList('rss/catalog/notifystock', Mage::helper('catalog')->__('Notify Low Stock RSS'));
}

Expand Down
60 changes: 30 additions & 30 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions js/varien/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ function setPLocation(url, setFocus){
*
* @param elements - array of elements to be decorated
* [@param decorateParams] - array of classes to be set. If omitted, all available will be used
* @deprecated
*/
function decorateGeneric(elements, decorateParams)
{
Expand Down Expand Up @@ -81,6 +82,7 @@ function decorateGeneric(elements, decorateParams)
/**
* Decorate table rows and cells, tbody etc
* @see decorateGeneric()
* @deprecated
*/
function decorateTable(table, options) {
var table = $(table);
Expand Down Expand Up @@ -126,6 +128,7 @@ function decorateTable(table, options) {
/**
* Set "odd", "even" and "last" CSS classes for list items
* @see decorateGeneric()
* @deprecated
*/
function decorateList(list, nonRecursive) {
if ($(list)) {
Expand All @@ -142,6 +145,7 @@ function decorateList(list, nonRecursive) {
/**
* Set "odd", "even" and "last" CSS classes for list items
* @see decorateGeneric()
* @deprecated
*/
function decorateDataList(list) {
list = $(list);
Expand Down

0 comments on commit 0f23ffd

Please sign in to comment.