use site logo in error dialog, fixes: #317
This commit is contained in:
parent
c450fd2a0b
commit
5ff0ff93f0
2 changed files with 3 additions and 2 deletions
|
@ -66,7 +66,7 @@ pandora.ui.errorDialog = function(data) {
|
|||
content: Ox.Element()
|
||||
.append(
|
||||
$('<img>')
|
||||
.attr({src: Ox.UI.PATH + 'png/icon128.png'})
|
||||
.attr({src: '/static/png/icon64.png'})
|
||||
.css({position: 'absolute', left: '16px', top: '16px', width: '64px', height: '64px'})
|
||||
)
|
||||
.append(
|
||||
|
|
|
@ -7,7 +7,6 @@ pandora.ui.placesDialog = function(options) {
|
|||
var height = Math.round((window.innerHeight - 48) * 0.9),
|
||||
width = Math.round(window.innerWidth * 0.9),
|
||||
$content = Ox.ListMap({
|
||||
height: height - 48,
|
||||
addPlace: function(place, callback) {
|
||||
pandora.api.addPlace(place, function(result) {
|
||||
Ox.Request.clearCache(); // fixme: remove
|
||||
|
@ -41,6 +40,8 @@ pandora.ui.placesDialog = function(options) {
|
|||
callback(result.data.items);
|
||||
});
|
||||
},
|
||||
height: height - 48,
|
||||
mode: pandora.site.map == 'auto' ? 'add' : 'define',
|
||||
names: pandora.hasPlacesLayer ? function(callback) {
|
||||
pandora.api.getPlaceNames(function(result) {
|
||||
callback(result.data.items);
|
||||
|
|
Loading…
Reference in a new issue