Title: When saving &#8220;Poll Templates&#8221; it removes Javascript
Last modified: June 14, 2017

---

# When saving “Poll Templates” it removes Javascript

 *  Resolved [kirdnej](https://wordpress.org/support/users/kirdnej/)
 * (@kirdnej)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/when-saving-poll-templates-it-removes-javascript/)
 * When i am hitting the button “Save changes” in Poll Templates it always removes
   the javascript “onclick=”poll_booth(%POLL_ID%); return false;” in the field:
   
   Result Footer: Displayed When The User HAS NOT Voted
 * and I can´t manually add it again. Only this field and this specific code seems
   to be effected.
 * Any idea or help would be much appreciated. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/when-saving-poll-templates-it-removes-javascript/#post-9229672)
 * Try the dev version [https://github.com/lesterchan/wp-polls/archive/master.zip](https://github.com/lesterchan/wp-polls/archive/master.zip)
   to see if it is fixed.
 *  Thread Starter [kirdnej](https://wordpress.org/support/users/kirdnej/)
 * (@kirdnej)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/when-saving-poll-templates-it-removes-javascript/#post-9237136)
 * If it install master version, i am not even able to click on the tab WP Polls
   in the left sidebar of wordpress…
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/when-saving-poll-templates-it-removes-javascript/#post-9238214)
 * That means you did not install it properly. Anyway, I released the new version
   instead since I have enough people testing it. Look for 2.73.7.
 *  Thread Starter [kirdnej](https://wordpress.org/support/users/kirdnej/)
 * (@kirdnej)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/when-saving-poll-templates-it-removes-javascript/#post-9238756)
 * Looks good now, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘When saving “Poll Templates” it removes Javascript’ is closed to new 
replies.

 * ![](https://ps.w.org/wp-polls/assets/icon.svg?rev=977996)
 * [WP-Polls](https://wordpress.org/plugins/wp-polls/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-polls/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-polls/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-polls/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-polls/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-polls/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [kirdnej](https://wordpress.org/support/users/kirdnej/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/when-saving-poll-templates-it-removes-javascript/#post-9238756)
 * Status: resolved