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

dev #56107 refactoring

parent eb6ead30
......@@ -44,14 +44,10 @@ class ZendAfi_View_Helper_TagObjetsImgProperties
$script = '$("select[name=\'style_liste\']").change(
function() {
$.ajax({
url: "' . $update_url . '/style_liste/" + $("#style_liste").val(),
dataType: "json",
success: function(data) {
var div = data["content"];
$("#objet_props").html(div);
}
});
$.getJSON("' . $update_url . '/style_liste/" + $("#style_liste").val(),
function(data) {
$("#objet_props").empty().append(data["content"]);
});
});';
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