site.js, cleanup stream names again

This commit is contained in:
j 2010-02-08 15:56:25 +05:30
commit 3d36da45af
8 changed files with 90 additions and 52 deletions

View file

@ -1,6 +1,29 @@
$(function() {
Ox.initLoading();
oxdb = {};
var oxdb = new Ox.App({
requestURL: "/api/"
}),
$dialog = new Ox.Dialog({
title: "Application Error",
buttons: [
{
value: "Change Title",
click: function() {
Ox.print("click to change title")
$dialog.options({
title: "New Title"
});
$dialog.$buttons[0].toggleDisabled();
}
},
{
value: "Close",
click: function() {
$dialog.close();
}
}
]
});
var user = {
username: "",