Skip to content

Commit

Permalink
Merge pull request #16 from koala-framework/remove-kwf-base-url
Browse files Browse the repository at this point in the history
Remove KWF_BASE_URL to be compatible with 5.2
  • Loading branch information
lllHuber committed Oct 4, 2019
2 parents 807f29f + 17c681e commit 9d7d452
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KwcShop/Kwc/Shop/Cart/Checkout/OrdersPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ Kwc.Shop.Cart.Checkout.OrdersPanel = Ext2.extend(Ext2.Panel, {
},
renderer: function(value, p, record, rowIndex, colIndex, store, column) {
p.css += 'kwf-cell-button';
var icon = KWF_BASE_URL+'/assets/silkicons/page_white.png';
var icon = '/assets/silkicons/page_white.png';
if (record.get('invoice_number')) {
icon = KWF_BASE_URL+'/assets/silkicons/page_white_star.png';
icon = '/assets/silkicons/page_white_star.png';
}
p.attr += 'style="background-image:url('+icon+');" ';
},
Expand Down

0 comments on commit 9d7d452

Please sign in to comment.