use Ox.UI.PATH for images

This commit is contained in:
rolux 2011-04-27 19:51:39 +00:00
parent 19eb6ec49d
commit 8de94a0840

View file

@ -896,14 +896,14 @@ Ox.load('UI', {
format: function() { format: function() {
return $('<img>') return $('<img>')
.attr({ .attr({
src: '/static/oxjs/build/png/Ox.UI/icon16.png' src: Ox.UI.PATH + 'png/icon16.png'
}); });
}, },
id: 'id', id: 'id',
operator: '+', operator: '+',
title: $('<img>') title: $('<img>')
.attr({ .attr({
src: '/static/oxjs/build/png/Ox.UI/icon16.png' src: Ox.UI.PATH + 'png/icon16.png'
}) })
.css({ .css({
width: '10px', width: '10px',
@ -1086,7 +1086,7 @@ Ox.load('UI', {
format: function() { format: function() {
return $('<img>') return $('<img>')
.attr({ .attr({
src: '/static/oxjs/build/png/Ox.UI/icon16.png' src: Ox.UI.PATH + 'png/icon16.png'
}) })
}, },
id: 'id', id: 'id',
@ -1130,7 +1130,7 @@ Ox.load('UI', {
{ {
format: function() { format: function() {
return $('<img>').attr({ return $('<img>').attr({
src: '/static/oxjs/build/png/Ox.UI/icon16.png' src: Ox.UI.PATH + 'png/icon16.png'
}); });
}, },
id: 'user', id: 'user',