diff --git a/editor/sahliedit.css b/editor/sahliedit.css index 28c792c..20135bd 100644 --- a/editor/sahliedit.css +++ b/editor/sahliedit.css @@ -26,6 +26,10 @@ label { font-size: 10; } +div ul li{ + list-style-type: none +} + #list { border: 1px solid black; } diff --git a/editor/sahliedit.litcoffee b/editor/sahliedit.litcoffee index 952f3de..7f190fe 100644 --- a/editor/sahliedit.litcoffee +++ b/editor/sahliedit.litcoffee @@ -117,6 +117,7 @@ edit button. $('#listsave').button {icons: {primary:"ui-icon-disk"}} .click => alert 'SAVE ME' + You need to save the order, and extract these in that order; moving around does not alter the array. Alternately, _have_ it alter the array. @@ -139,14 +140,25 @@ does not alter the array. Alternately, _have_ it alter the array. modal: false, title:"Entry #{data.file} ", buttons: [{ - text: "OK", + text: "Cancel", + icons: {primary: 'ui-icon-trash'}, click: -> $(@).dialog "close" - }] - } - - alert arraytocolor colortoarray '#102030' + },{ + text: "Save", + icons: {primary: 'ui-icon-disk'}, + click: -> + $('#smt').click() + $(@).dialog "close" + }] + } + + $("#smt").click (event) -> + event.preventDefault() + alert 'bob' + + $("#entryname").val data.name $("#entryauthor").val data.author $("#entryamiga").val data.amiga diff --git a/editor/sahlieditor.html b/editor/sahlieditor.html index 6b8581c..91b4303 100644 --- a/editor/sahlieditor.html +++ b/editor/sahlieditor.html @@ -24,48 +24,48 @@