WordPress.org

Forums

Plugin Test Drive
saving altered options success ! (2 posts)

  1. xgiorgi
    Member
    Posted 3 years ago #

    Hye !

    I've succeeded in saving options in the admin panel after a modification of the source code file script.js.

    I've added this line at the very start of the file script.js:
    Alert ("ok") ;
    (with the A in capital, yes, syntax error, yes ! )
    before the first one :
    jQuery(document).ready(function() {

    I don't understand why, but it works (In fact, I was looking for a solution when I made this syntax error... )
    I think it relies with a syntax error before this line (missing semi-column or something like that), or perhaps a bad script enqueueing.

    I Don't know how to re-open the topic "Can't save altered options"

    Hope it serves!

    Xavier Giorgi.

    http://wordpress.org/extend/plugins/plugin-test-drive/

  2. RonDsy
    Blocked
    Posted 3 years ago #

    Hi xgiorgi,

    Thanks, it works.

    Ron

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Plugin Test Drive
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic