widget.js 330 B

1234567891011
  1. /* HTML */
  2. function glpi_widget_glpi_configure_save(widget,modal){
  3. var data = $('#glpi-widget-glpi-form').toJson();
  4. data.action = 'glpi_widget_glpi_configure_save';
  5. data.id = modal.attr('data-widget');
  6. $.action(data,function(){
  7. $.message('success','Configuration enregistrée');
  8. dashboard_dashboardwidget_search();
  9. });
  10. }