cleanup between plugin.name and plugin.uuid
[myslice.git] / engine / templates / plugin_setenv.js
index ae01f6d..2cfd6e3 100644 (file)
@@ -1,6 +1,6 @@
 {# from plugin.php Plugin.render() #}
 {# Plugin initialization (if the plugin has the right structure) #}
-if (typeof jQuery('#plugin-{{ uuid }}').{{ classname }} != 'undefined') {
-    jQuery('#plugin-{{ uuid }}').{{ classname }}({{ settings_json|safe }});
-    {#jQuery('#{{ uuid }}').{{ classname }}('show');#}
+if (typeof jQuery('#{{ domid }}').{{ classname }} != 'undefined') {
+    jQuery('#{{ domid }}').{{ classname }}({{ settings_json|safe }});
+    {#jQuery('#{{ domid }}').{{ classname }}('show');#}
 };