clean the main layout now known as unfold1, including for the 2 pieces (unfold1_main...
[unfold.git] / plugins / lists / simplelist.js
index 147bd44..e883759 100644 (file)
        $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;