diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php
index 71cfba5f74f..e58eabd5db8 100644
--- a/htdocs/html.form.class.php
+++ b/htdocs/html.form.class.php
@@ -327,11 +327,12 @@ class Form
$pays_id = $obj->rowid?$obj->rowid:'';
print '
';
print '';
+ print ''.img_gif('Working...','ajaxworking').'';
print '';
print '
';
print '';
print '';
}
else
diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php
index 796a2fe4bca..17e2df98e0b 100644
--- a/htdocs/lib/functions.inc.php
+++ b/htdocs/lib/functions.inc.php
@@ -1088,6 +1088,18 @@ function img_allow($allow)
}
}
+/**
+ \brief Affiche image gif (fonction générique)
+ \param alt Texte sur le alt de l'image
+ \param picto Nom de l'image a afficher
+ \return string Retourne tag img
+*/
+function img_gif($alt, $picto, $options='')
+{
+ global $conf,$langs;
+ return '
';
+}
+
/**
\brief Affiche info admin