Small addon which will let you to attach files from files library to text or image. Have fun!
spaw_addon_attachment
Logged In: YES user_id=973769
Hi, nice add-on, I have missed this alot in Spaw editor, so good work. but lots of bugs....
in doc_library.php
row 89, bad path to utils.js row 171, bad path to 'action' row 117, bad var namn '$spaw_delete_allowed' should be '$spaw_doc_delete_allowed'
in 'spaw_control.config.add' row 12 'value' => $page_dir.'docs/', bad name '$page_dir' do not exists.
/jof
Logged In: YES user_id=1183674
found this error in the code, im using spaw 107
if (nl_Props.actions == null || nl_Props.actions == "" ) {var lAction = '';} else {var lAction=nl_Props.actions;}
that caused a javascript error to occur when the user pressed cancel or closed the window.
this fixes it.
if (nl_Props) {var lAction=nl_Props.actions;} else { var lAction = '';}
Shaun
Logged In: NO
Great script Could this be updated to be used with Spaw 1.1
Log in to post a comment.
spaw_addon_attachment
Logged In: YES
user_id=973769
Hi, nice add-on, I have missed this alot in Spaw editor, so
good work. but lots of bugs....
in doc_library.php
row 89, bad path to utils.js
row 171, bad path to 'action'
row 117, bad var namn '$spaw_delete_allowed' should
be '$spaw_doc_delete_allowed'
in 'spaw_control.config.add'
row 12 'value' => $page_dir.'docs/', bad name '$page_dir' do
not exists.
/jof
Logged In: YES
user_id=1183674
found this error in the code, im using spaw 107
if (nl_Props.actions == null || nl_Props.actions == "" ) {var
lAction = '';}
else {var lAction=nl_Props.actions;}
that caused a javascript error to occur when the user
pressed cancel or closed the window.
this fixes it.
if (nl_Props) {var lAction=nl_Props.actions;}
else { var lAction = '';}
Shaun
Logged In: NO
Great script
Could this be updated to be used with Spaw 1.1