forked from 0x2620/oxjs
fixing defaults/options for enhanced widgets
This commit is contained in:
parent
4f2dc7dd53
commit
ef8c8eed37
2 changed files with 75 additions and 5 deletions
|
|
@ -127,6 +127,15 @@
|
|||
{ id: "contact", title: "Contact"}
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "user",
|
||||
title: "User",
|
||||
items: [
|
||||
{ disabled: true, id: "user", title: "User: not logged in"},
|
||||
{},
|
||||
{ id: "login", title: "Login" }
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "file",
|
||||
title: "File",
|
||||
|
|
@ -183,6 +192,21 @@
|
|||
loadingIcon.stop();
|
||||
}, 5000);
|
||||
});
|
||||
|
||||
var loginDialog = new Ox.Dialog({
|
||||
buttons: [
|
||||
{ value: "Register", click: function() { loginDialog.close(); } },
|
||||
{ value: "Reset Password", click: function() { loginDialog.close(); } },
|
||||
{ value: "Cancel", click: function() { loginDialog.close(); } },
|
||||
{ value: "Login", click: function() { loginDialog.close(); } }
|
||||
],
|
||||
title: "Login"
|
||||
});
|
||||
|
||||
Ox.Event.bind(null, "click_login", function() {
|
||||
loginDialog.open();
|
||||
});
|
||||
|
||||
var bottomPanel = Ox.Bar({size: "small"})
|
||||
.css({
|
||||
zIndex: 2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue