Forums

[Plugin: WP Twitip ID] WP-Twitip-ID JavaScript Error (2 posts)

  1. yuletide
    Member
    Posted 7 months ago #

    Really? REALLY?

    missing ) after argument list [Break on this error] addtwitterfield('url',"
    ","<label fo...el>
    ",'textarea','off','off','off');

    Corresponding line of code:
    <script type="text/javascript">addtwitterfield('url',"<br />","<label for="atf_twitter_id">Twitter ID</label><br />",'textarea','off','off','off');</script>

    http://wordpress.org/extend/plugins/wp-twitip-id/

  2. yuletide
    Member
    Posted 7 months ago #

    Seemed it really was that simple?

    Now I get no error. Hopefully I didn't break anything by fixing it.

    Before
    echo "addtwitterfield('$afterID',\'$prehtml\',\'$psthtml\','$field_class','$hasnolabel','$swaplabel','$atf_nojava');</script>";

    After
    echo "addtwitterfield('$afterID','$prehtml','$psthtml','$field_class','$hasnolabel','$swaplabel','$atf_nojava');</script>";

    Yay! No error! O_o

Reply

You must log in to post.

About this Topic