Ajout de la detection des liens dans les sms
This commit is contained in:
parent
28ca04e3de
commit
dc847c98b8
File diff suppressed because one or more lines are too long
|
@ -65,6 +65,9 @@
|
||||||
|
|
||||||
$.each(data.messages, function(key, message) {
|
$.each(data.messages, function(key, message) {
|
||||||
|
|
||||||
|
//On ajoute la detection de lien dans le texte du message
|
||||||
|
message.text = Autolinker.link(message.text, {newWindow:true});
|
||||||
|
|
||||||
switch (message.type)
|
switch (message.type)
|
||||||
{
|
{
|
||||||
case 'received' :
|
case 'received' :
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
<script src="<?php echo HTTP_PWD; ?>js/bootstrap.min.js"></script>
|
<script src="<?php echo HTTP_PWD; ?>js/bootstrap.min.js"></script>
|
||||||
<script src="<?php echo HTTP_PWD; ?>js/plugins/morris/raphael.min.js"></script>
|
<script src="<?php echo HTTP_PWD; ?>js/plugins/morris/raphael.min.js"></script>
|
||||||
<script src="<?php echo HTTP_PWD; ?>js/plugins/morris/morris.min.js"></script>
|
<script src="<?php echo HTTP_PWD; ?>js/plugins/morris/morris.min.js"></script>
|
||||||
|
<script src="<?php echo HTTP_PWD; ?>js/Autolinker.min.js"></script>
|
||||||
<!-- Magic Suggest JS and CSS -->
|
<!-- Magic Suggest JS and CSS -->
|
||||||
<script src="<?php echo HTTP_PWD; ?>js/magicsuggest.min.js"></script>
|
<script src="<?php echo HTTP_PWD; ?>js/magicsuggest.min.js"></script>
|
||||||
<link href="<?php echo HTTP_PWD; ?>css/magicsuggest.css" rel="stylesheet">
|
<link href="<?php echo HTTP_PWD; ?>css/magicsuggest.css" rel="stylesheet">
|
||||||
|
|
Loading…
Reference in New Issue