Module: xyadmin_email_controller, Line: 22,
My print's "Req : post_params ( )" is [{"title","asdfasdf"},
{"serverlists[]","3"},
{"users",[]},
{"content","sdfasdfasdf"},
{"attachments[0][item_type]","1"},
{"attachments[0][item_id]","1"},
{"attachments[0][item_name]","1"},
{"attachments[0][item_amount]","1"},
{"attachments[1][item_type]","2"},
{"attachments[1][item_id]","1"},
{"attachments[1][item_name]","1"},
{"attachments[1][item_amount]","1"}]
******
I tried:
Req:post_param("attachments") -->undefined
Req:param_group("attachments[]") -->[]
Req:deep_post_param("attachments") --> will raise error,
So, how do i get the attachments?
--
You received this message because you are subscribed to the Google Groups
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit
https://groups.google.com/d/msgid/chicagoboss/c01c8ea3-f5ff-4c75-b489-1f335f3b9d4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.