diff options
| author | wjames5 <will@tekimaki.com> | 2008-07-03 15:19:10 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2008-07-03 15:19:10 +0000 |
| commit | 50ed56c303d294727a30e68530c72d9d48168684 (patch) | |
| tree | ddaaa4f968a4b91cc33382993797e12fb01dfbae /scripts | |
| parent | 48583b6b98ac6f1327c506cdcceca56d99f78665 (diff) | |
| download | liberty-50ed56c303d294727a30e68530c72d9d48168684.tar.gz liberty-50ed56c303d294727a30e68530c72d9d48168684.tar.bz2 liberty-50ed56c303d294727a30e68530c72d9d48168684.zip | |
fix attachment ajax upload callbacks - forgot to get form by id
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/LibertyAttachment.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/LibertyAttachment.js b/scripts/LibertyAttachment.js index 38eafcd..93eb640 100644 --- a/scripts/LibertyAttachment.js +++ b/scripts/LibertyAttachment.js @@ -69,7 +69,8 @@ LibertyAttachment = { } }, - "postflightCheck": function( form, d ){ + "postflightCheck": function( cform, d ){ + var form = $(cform); var cid = d.getElementById("upload_content_id").value; if ( typeof( form.content_id ) == "undefined" ){ var i = INPUT( {'name':'content_id', 'type':'hidden', 'value':cid}, null ); |
