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

RadiantWeb
 
Mnkras replied on at Permalink Reply
Mnkras
kind of confused what your trying to do and the problem,

im on IRC right now if you want to join me :)
synlag replied on at Permalink Reply
synlag
what about a group picker?
Mnkras replied on at Permalink Reply
Mnkras
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.
Mnkras replied on at Permalink Reply
Mnkras
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'   
});
}