1
0
Fork 0
forked from 0x2620/oxjs

minor changes

This commit is contained in:
rolux 2011-11-30 15:56:01 +01:00
commit 137944a1a7
6 changed files with 10 additions and 2 deletions

View file

@ -48,7 +48,7 @@ Ox.Form = function(options, self) {
self.itemIsValid[i] = item.value().length > 0;
}
self.itemIds[i] = item.options('id') || item.id;
that.append(self.$items[i] = Ox.FormItem({element: item}));
self.$items[i] = Ox.FormItem({element: item}).appendTo(that);
item.bindEvent({
/*
blur: function(data) {

View file

@ -138,6 +138,8 @@ Ox.PlacePicker = function(options, self) {
self.$map = Ox.Map({
clickable: true,
id: self.options.id + 'Map',
// fixme: this is retarded, allow for map without places
places: [{south: -85, west: -179, north: -85, east: 179}]
//places: [self.options.value]
})
.css({

View file

@ -231,6 +231,7 @@ Ox.Range = function(options, self) {
}
function setTrackColors() {
// fixme: remove outdated -webkit format, and add -o
self.$track.css({
backgroundImage: $.browser.mozilla ?
('-moz-linear-gradient(left, ' +