use Ox.UI.getImageURL()

This commit is contained in:
rolux 2011-08-09 19:07:24 +02:00
parent 885d80dbcc
commit 8d644cc27a
3 changed files with 13 additions and 13 deletions

View file

@ -25,7 +25,7 @@ pandora.ui.annotations = function() {
$bin.$content.append(
$('<div>').css({ height: '20px' }).append(
$('<div>').css({ float: 'left', width: '16px', height: '16px', margin: '1px'}).append(
$('<img>').attr({ src: Ox.UI.getImagePath('iconFind.svg') }).css({ width: '16px', height: '16px', border: 0, background: 'rgb(64, 64, 64)', WebkitBorderRadius: '2px' })
$('<img>').attr({ src: Ox.UI.getImageURL('iconFind') }).css({ width: '16px', height: '16px', border: 0, background: 'rgb(64, 64, 64)', WebkitBorderRadius: '2px' })
)
).append(
$('<div>').css({ float: 'left', width: '122px', height: '14px', margin: '2px' }).html('Foo')

View file

@ -55,7 +55,7 @@ pandora.ui.folderBrowserList = function(id) {
format: function(value) {
return $('<img>')
.attr({
src: Ox.UI.getImagePath('symbolFind.svg')
src: Ox.UI.getImageURL('symbolFind')
})
.css({
width: '10px',
@ -68,7 +68,7 @@ pandora.ui.folderBrowserList = function(id) {
operator: '+',
title: $('<img>')
.attr({
src: Ox.UI.getImagePath('symbolFind.svg')
src: Ox.UI.getImageURL('symbolFind')
})
.css({
width: '10px',
@ -83,8 +83,8 @@ pandora.ui.folderBrowserList = function(id) {
format: function(value) {
return $('<img>')
.attr({
src: Ox.UI.getImagePath(
'symbol' + (id == 'favorite' ? 'Check' : 'Star') + '.svg'
src: Ox.UI.getImageURL(
'symbol' + (id == 'favorite' ? 'Check' : 'Star')
)
})
.css({
@ -99,8 +99,8 @@ pandora.ui.folderBrowserList = function(id) {
operator: '+',
title: $('<img>')
.attr({
src: Ox.UI.getImagePath(
'symbol' + (id == 'favorite' ? 'Check' : 'Star') + '.svg'
src: Ox.UI.getImageURL(
'symbol' + (id == 'favorite' ? 'Check' : 'Star')
)
})
.css({
@ -287,7 +287,7 @@ pandora.ui.folderList = function(id) {
format: function(value) {
return $('<img>')
.attr({
src: Ox.UI.getImagePath('symbolFind.svg')
src: Ox.UI.getImageURL('symbolFind')
})
.css({
width: '10px',
@ -307,8 +307,8 @@ pandora.ui.folderList = function(id) {
//var symbols = {private: 'Publish', public: 'Publish', featured: 'Star'};
return $('<img>')
.attr({
src: Ox.UI.getImagePath(
'symbol' + (value == 'featured' ? 'Star' : 'Publish') + '.svg'
src: Ox.UI.getImageURL(
'symbol' + (value == 'featured' ? 'Star' : 'Publish')
)
})
.css({

View file

@ -97,7 +97,7 @@ pandora.ui.folderList = function(id) {
format: function(value) {
return $('<img>')
.attr({
src: Ox.UI.getImagePath('symbolFind.svg')
src: Ox.UI.getImageURL('symbolFind')
})
.css({
width: '10px',
@ -117,8 +117,8 @@ pandora.ui.folderList = function(id) {
//var symbols = {private: 'Publish', public: 'Publish', featured: 'Star'};
return $('<img>')
.attr({
src: Ox.UI.getImagePath(
'symbol' + (value == 'featured' ? 'Star' : 'Publish') + '.svg'
src: Ox.UI.getImageURL(
'symbol' + (value == 'featured' ? 'Star' : 'Publish')
)
})
.css({