Hello everybody,
Firstly, i just want to say that i'm french, so sorry for my english.
I want to apply a function ( generate word documents) on items that u select with the checkbox on ListView ( items that u check when u want to massupdate). But i really don't know how can i do that!
I think it's on include/massupdate.php (send_massupdate function) and on include/javascript/sugar_3.js.
My main problem is that i can't apply to the button ('doc generate') that i've created my function which generate word document.
On other views it runs with this definition of the button 'export':
<input title="{MOD.LBL_EXPORT_BUTTON_TITLE}" type="button" class="button"
accesskey="{MOD.LBL_EXPORT_BUTTON_KEY}"
onclick="document.location='export_oinvoice.php?re cord={ID}'"
name="Export"
value=" {MOD.LBL_EXPORT_BUTTON_LABEL} ">
But when i try to apply the onclick function to my new button => nothing
I hope that u understand my problem and that u answer it. Thanks


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks