load location into location input field
This commit is contained in:
parent
61686c559c
commit
dcadf74d55
3 changed files with 323 additions and 308 deletions
|
|
@ -120,6 +120,7 @@
|
|||
var item, x, _i, _len, _ref;
|
||||
$('#list').show(100);
|
||||
x = 0;
|
||||
$('#dirlocation').val(this.data.location);
|
||||
_ref = this.data.filedata;
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
item = _ref[_i];
|
||||
|
|
|
|||
|
|
@ -139,6 +139,7 @@ does not alter the array. Alternately, _have_ it alter the array.
|
|||
buildlist: (data) ->
|
||||
$('#list').show 100
|
||||
x = 0
|
||||
$('#dirlocation').val @data.location
|
||||
$('#sortlist').append @.additem item,x++ for item in @data.filedata
|
||||
$('#sortlist').sortable
|
||||
start: (event,ui) ->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue