use Ox.UI.PATH for images

This commit is contained in:
rlx 2011-04-27 19:51:39 +00:00
parent 2a5890eacb
commit 54a5c5859f

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',