1
0
Fork 0
forked from 0x2620/oxjs

make (almost all of) form demo work again

This commit is contained in:
rolux 2011-05-12 06:15:01 +02:00
commit c5408a6656
11 changed files with 37 additions and 26 deletions

View file

@ -8,7 +8,7 @@ body {
right: 0;
bottom: 0;
padding: 4px;
background: rgb(240, 240, 240);
//background: rgb(240, 240, 240);
overflow: auto;
}
.margin {

View file

@ -4,10 +4,7 @@
<title>ox.js form demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="css/form.css"/>
<script type="text/javascript" src="../../build/js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="../../source/js/_/ox.data.js"></script>
<script type="text/javascript" src="../../build/js/Ox.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="../../build/Ox.js"></script>
<script type="text/javascript" src="js/form.js"></script>
<!--<script>
$(function() {

View file

@ -1,4 +1,5 @@
Ox.load('UI', function() {
Ox.load('UI', {debug: true}, function() {
Ox.load('Geo', function() {
var $body = $("body"),
$panel = $("<div>")
@ -608,7 +609,7 @@ Ox.load('UI', function() {
},
{
options: {
autocomplete: $.map(Ox.getCountries(), function(v, i) {
autocomplete: $.map(Ox.COUNTRIES, function(v, i) {
return v.name;
}),
autocompleteReplace: true,
@ -618,7 +619,7 @@ Ox.load('UI', function() {
},
{
options: {
autocomplete: $.map(Ox.getCountries(), function(v, i) {
autocomplete: $.map(Ox.COUNTRIES, function(v, i) {
return v.name;
}),
autocompleteReplace: true,
@ -629,7 +630,7 @@ Ox.load('UI', function() {
},
{
options: {
autocomplete: $.map(Ox.getCountries(), function(v, i) {
autocomplete: $.map(Ox.COUNTRIES, function(v, i) {
return v.name;
}),
autocompleteSelect: true,
@ -640,7 +641,7 @@ Ox.load('UI', function() {
},
{
options: {
autocomplete: $.map(Ox.getCountries(), function(v, i) {
autocomplete: $.map(Ox.COUNTRIES, function(v, i) {
return v.name;
}),
autocompleteReplace: true,
@ -652,7 +653,7 @@ Ox.load('UI', function() {
},
{
options: {
autocomplete: $.map(Ox.getCountries(), function(v, i) {
autocomplete: $.map(Ox.COUNTRIES, function(v, i) {
return v.name;
}),
autocompleteReplace: true,
@ -773,7 +774,8 @@ Ox.load('UI', function() {
separators: [
{title: "", width: 0}
]
}
},
title: 'foo'
},
{
options: {
@ -1183,4 +1185,5 @@ Ox.load('UI', function() {
})
.appendTo($panel);
});
});