Sortable elements
This commit is contained in:
parent
54faa4dca2
commit
e3599a446f
3 changed files with 19 additions and 3 deletions
|
|
@ -113,10 +113,13 @@ edit button.
|
|||
|
||||
buildlist: (data) ->
|
||||
$('#list').show 100
|
||||
@.additem item for item in @data.filedata
|
||||
$('#sortlist').append @.additem item for item in @data.filedata
|
||||
$('#sortlist').sortable().disableSelection()
|
||||
|
||||
|
||||
additem: (item) ->
|
||||
alert dumpjson item
|
||||
$("<li class='entry' id='#{item.file}'><span class='ui-icon ui-icon-arrowthick-2-n-s'></span>#{item.author} : #{item.name} : #{item.file}</li>")
|
||||
|
||||
|
||||
editline: (data) ->
|
||||
$("#formica").dialog {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue