Sha256: 9266a4185584432651a2effad3ec141793679f3514fe1e79aa9622405e7f98cf
Contents?: true
Size: 509 Bytes
Versions: 2
Compression:
Stored size: 509 Bytes
Contents
$(function() { $("body").on("click", ".scrivito_elastic_slider_widget_add-new-panel", function(e) { e.preventDefault(); var pageid = $(this).attr("pageid"); var widgetid = $(this).attr("widgetid"); $.get("/scrivito_elastic_slider_widget/add_new_panel?obj=" + pageid + "&widget=" + widgetid, function(data) { // TBD: trigger("scrivito_reload") is deprecated but new method wasn't yet documented in March '15 $("#carousel" + widgetid).trigger("scrivito_reload"); }); }); });
Version data entries
2 entries across 2 versions & 1 rubygems