diff --git a/static/js/pandora/ui/editor.js b/static/js/pandora/ui/editor.js index 6646414..eb34f88 100644 --- a/static/js/pandora/ui/editor.js +++ b/static/js/pandora/ui/editor.js @@ -25,7 +25,7 @@ pandora.ui.annotations = function() { $bin.$content.append( $('
').css({ height: '20px' }).append( $('
').css({ float: 'left', width: '16px', height: '16px', margin: '1px'}).append( - $('').attr({ src: Ox.UI.getImagePath('iconFind.svg') }).css({ width: '16px', height: '16px', border: 0, background: 'rgb(64, 64, 64)', WebkitBorderRadius: '2px' }) + $('').attr({ src: Ox.UI.getImageURL('iconFind') }).css({ width: '16px', height: '16px', border: 0, background: 'rgb(64, 64, 64)', WebkitBorderRadius: '2px' }) ) ).append( $('
').css({ float: 'left', width: '122px', height: '14px', margin: '2px' }).html('Foo') diff --git a/static/js/pandora/ui/folderBrowserList.js b/static/js/pandora/ui/folderBrowserList.js index 881f39b..31b3991 100644 --- a/static/js/pandora/ui/folderBrowserList.js +++ b/static/js/pandora/ui/folderBrowserList.js @@ -55,7 +55,7 @@ pandora.ui.folderBrowserList = function(id) { format: function(value) { return $('') .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: $('') .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 $('') .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: $('') .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 $('') .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 $('') .attr({ - src: Ox.UI.getImagePath( - 'symbol' + (value == 'featured' ? 'Star' : 'Publish') + '.svg' + src: Ox.UI.getImageURL( + 'symbol' + (value == 'featured' ? 'Star' : 'Publish') ) }) .css({ diff --git a/static/js/pandora/ui/foldersList.js b/static/js/pandora/ui/foldersList.js index 3959769..0bf7cf5 100644 --- a/static/js/pandora/ui/foldersList.js +++ b/static/js/pandora/ui/foldersList.js @@ -97,7 +97,7 @@ pandora.ui.folderList = function(id) { format: function(value) { return $('') .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 $('') .attr({ - src: Ox.UI.getImagePath( - 'symbol' + (value == 'featured' ? 'Star' : 'Publish') + '.svg' + src: Ox.UI.getImageURL( + 'symbol' + (value == 'featured' ? 'Star' : 'Publish') ) }) .css({