fix issue w/ no images attached
This commit is contained in:
parent
e7732b8272
commit
58d45f89e6
|
@ -74,6 +74,7 @@ ComicImageOrdering.build_response = function() {
|
|||
};
|
||||
|
||||
ComicImageOrdering.setup = function() {
|
||||
if ($('comic-ordering')) {
|
||||
Sortable.create($('comic-ordering'), {
|
||||
tag: 'div',
|
||||
handle: 'div',
|
||||
|
@ -125,6 +126,7 @@ ComicImageOrdering.setup = function() {
|
|||
|
||||
ComicImageOrdering.build_dropdowns();
|
||||
ComicImageOrdering.build_response();
|
||||
}
|
||||
};
|
||||
|
||||
Event.observe(window, 'load', function() {
|
||||
|
|
Loading…
Reference in New Issue