1
0
Fork 0
forked from 0x2620/oxjs

changes to dialogs, events, forms

This commit is contained in:
rolux 2010-12-26 20:16:35 +00:00
commit d1dee61a5f
5 changed files with 256 additions and 162 deletions

View file

@ -714,7 +714,7 @@ $(function() {
})
],
separators: [
{title: "", width: -8}
{title: "", width: 0}
]
}
}
@ -1053,18 +1053,19 @@ $(function() {
var value = $element.options("value"),
$dialog = new Ox.Dialog({
buttons: [
{
click: function() { $dialog.close(); },
id: "close",
title: "Close"
}
new Ox.Button({
id: 'close',
title: 'Close'
}).bindEvent({
click: function() { $dialog.close(); }
})
],
content: Ox.isUndefined(value) ? "undefined" : value,
height: 128,
id: "value",
title: "Value",
width: 256
})
.append(Ox.isUndefined(value) ? "undefined" : value)
.open();
})
.appendTo($div);