forked from 0x2620/oxjs
changes to dialogs, events, forms
This commit is contained in:
parent
3d136c4657
commit
d1dee61a5f
5 changed files with 256 additions and 162 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue