Skip to content
Snippets Groups Projects
Commit 2bcca88a authored by Andreas Gohr's avatar Andreas Gohr
Browse files

some initial refactoring of the linkwizard

parent 110749cc
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -226,10 +226,15 @@ function addBtnActionPicker(btn, props, edid) {
* @author Andreas Gohr <gohr@cosmocode.de>
*/
function addBtnActionLinkwiz(btn, props, edid) {
jQuery(btn).linkwiz(jQuery('#' + edid));
linkwiz.init(jQuery('#'+edid));
jQuery(btn).click(function(){
linkwiz.toggle();
return false;
});
return true;
}
/**
* Show/Hide a previosly created picker window
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment