advanced user picker javascript: need help
Permalink
hi guys,
I need someone more versed in javascript than I to toss some ideas out with the following scenario:
- a tools file with a simple multi user picker added using the c5 selectMultipleUsers helper.
- a single page calling that tools file via the dialog helper. to the effect of:
properties_dialog = function() {
jQuery.fn.dialog.open({
width: 630,
height: 450,
modal: false,
href: '<?=BASE_URL.DIR_REL?>/index.php/tools/your_tools_file,
title: 'Edit Properties'
});
}
<a href="javascript:;" onClick="properties_dialog();">click me</a>
- the advanced search options are bust.
please, any thoughts or help as to how I can get the javscript working would be much appreciated.
ChadStrat
I need someone more versed in javascript than I to toss some ideas out with the following scenario:
- a tools file with a simple multi user picker added using the c5 selectMultipleUsers helper.
- a single page calling that tools file via the dialog helper. to the effect of:
properties_dialog = function() {
jQuery.fn.dialog.open({
width: 630,
height: 450,
modal: false,
href: '<?=BASE_URL.DIR_REL?>/index.php/tools/your_tools_file,
title: 'Edit Properties'
});
}
<a href="javascript:;" onClick="properties_dialog();">click me</a>
- the advanced search options are bust.
please, any thoughts or help as to how I can get the javscript working would be much appreciated.
ChadStrat
what about a group picker?
I think it has something to do with ccm.search.js and the variables conflicting, I think that it thinks that both dialogs are the same so it uses the same variable.
also that js is a little borked
properties_dialog = function() { jQuery.fn.dialog.open({ width: 630, height: 450, modal: false, href: '<?=BASE_URL.DIR_REL?>/index.php/tools/your_tools_file', title: 'Edit Properties' }); }
im on IRC right now if you want to join me :)