Commit 14246b13 authored by Laurent's avatar Laurent
Browse files

dev #56107 refactoring

parent eb6ead30
...@@ -44,14 +44,10 @@ class ZendAfi_View_Helper_TagObjetsImgProperties ...@@ -44,14 +44,10 @@ class ZendAfi_View_Helper_TagObjetsImgProperties
$script = '$("select[name=\'style_liste\']").change( $script = '$("select[name=\'style_liste\']").change(
function() { function() {
$.ajax({ $.getJSON("' . $update_url . '/style_liste/" + $("#style_liste").val(),
url: "' . $update_url . '/style_liste/" + $("#style_liste").val(), function(data) {
dataType: "json", $("#objet_props").empty().append(data["content"]);
success: function(data) { });
var div = data["content"];
$("#objet_props").html(div);
}
});
});'; });';
Class_ScriptLoader::getInstance() Class_ScriptLoader::getInstance()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment