Explorar el Código

minor update for options api

pdontthink hace 22 años
padre
commit
93dfdc63ce
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      include/options/display.php

+ 1 - 1
include/options/display.php

@@ -109,7 +109,7 @@ function load_optpage_data_display() {
         'caption' => '',
         'type'    => SMOPT_TYPE_HIDDEN,
         'refresh' => SMOPT_REFRESH_NONE,
-        'script'  => $js_autodetect_script,
+        'post_script' => $js_autodetect_script,
         'save'    => 'save_option_javascript_autodetect'
     );