use new form element syntax

This commit is contained in:
rolux 2011-12-22 12:54:30 +05:30
commit 68f9b40a80
7 changed files with 18 additions and 18 deletions

View file

@ -133,11 +133,11 @@ function constructList() {
.html(app.actions[id].code[1].replace('/\n/<br>\n/g'))
.hide();
var $button = new Ox.Button({
title: [
type: "image"
values: [
{id: "one", title: "right"},
{id: "two", title: "down"},
],
type: "image"
})
.addClass("margin")
.click(function() { $code.toggle()})