X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Flists%2Fsimplelist.js;h=e883759a808f969bfd27d96a76e0d1aa12e963ff;hb=5741daf5436565a4090495e7c3a1e6cb2c445b52;hp=147bd447d9ccdd610b1a5b0606590a17b5d2abe3;hpb=cc4949a4ffb46ef309e660778afc9244fed4215d;p=myslice.git diff --git a/plugins/lists/simplelist.js b/plugins/lists/simplelist.js index 147bd447..e883759a 100644 --- a/plugins/lists/simplelist.js +++ b/plugins/lists/simplelist.js @@ -72,14 +72,14 @@ $plugindiv.closest('.need-spin').spin(false); if (rows.length == 0) { - if (use_datatables) datatables_set_message ($table, $tbody, myslice_warning("No result")); - else regular_set_message ($table, $tbody, myslice_warning("No result")); + if (use_datatables) datatables_set_message ($table, $tbody, unfold.warning("No result")); + else regular_set_message ($table, $tbody, unfold.warning("No result")); return; } if (typeof rows[0].error != 'undefined') { var error="ERROR: " + rows[0].error; - if (use_datatables) datatables_set_message ($table, $tbody, myslice_error(error)); - else regular_set_message ($table, $tbody, myslice_error(error)); + if (use_datatables) datatables_set_message ($table, $tbody, unfold.error(error)); + else regular_set_message ($table, $tbody, unfold.error(error)); return; } var options = $plugindiv.data().SimpleList;