[enh] Use proper jappix mini.

This commit is contained in:
opi 2016-03-22 21:33:58 +01:00
parent e2f073949c
commit 63fcf7fd1a
2 changed files with 52 additions and 50 deletions

View file

@ -146,32 +146,33 @@
}); });
// $(".actions").css('opacity', 0); // $(".actions").css('opacity', 0);
</script>
<script type="text/javascript" src="/jappix/javascripts/mini.min.js"></script>
<script type="text/javascript">
// Jappix mini chat // Jappix mini chat
jQuery.ajaxSetup({cache: false}); jQuery.ajaxSetup({cache: false});
jQuery.getScript("https://yunohost.org/_js/jappix_mini.js", function() {
var JAPPIX_MINI_CSS = 'http://simone.local/_css/jappix_mini.css';
var ADS_ENABLE = 'off';
var HOST_BOSH = 'https://yunohost.org/http-bind/';
JappixMini.launch({
connection: {
domain: "anonymous.yunohost.org",
},
application: { var ADS_ENABLE = 'off';
network: { var JAPPIX_STATIC = '/jappix/';
autoconnect: false, var HOST_BOSH = 'https://im.yunohost.org/http-bind/';
}, var DEVELOPER = 'on';
var ANONYMOUS = 'on';
interface: { JappixMini.launch({
showpane: false, connection: {
animate: false, domain: "anonymous.yunohost.org",
}, },
application: {
network: {
groupchat: { autoconnect: false,
open: ['support@conference.yunohost.org'] },
} interface: {
}, showpane: false,
}); animate: false,
}); },
groupchat: {
open: ['support@conference.yunohost.org']
}
},
});
</script> </script>

View file

@ -148,32 +148,33 @@
}); });
// $(".actions").css('opacity', 0); // $(".actions").css('opacity', 0);
</script>
<script type="text/javascript" src="/jappix/javascripts/mini.min.js"></script>
<script type="text/javascript">
// Jappix mini chat // Jappix mini chat
jQuery.ajaxSetup({cache: false}); jQuery.ajaxSetup({cache: false});
jQuery.getScript("https://yunohost.org/_js/jappix_mini.js", function() {
var JAPPIX_MINI_CSS = 'http://simone.local/_css/jappix_mini.css';
var ADS_ENABLE = 'off';
var HOST_BOSH = 'https://yunohost.org/http-bind/';
JappixMini.launch({
connection: {
domain: "anonymous.yunohost.org",
},
application: { var ADS_ENABLE = 'off';
network: { var JAPPIX_STATIC = '/jappix/';
autoconnect: false, var HOST_BOSH = 'https://im.yunohost.org/http-bind/';
}, var DEVELOPER = 'on';
var ANONYMOUS = 'on';
interface: { JappixMini.launch({
showpane: false, connection: {
animate: false, domain: "anonymous.yunohost.org",
}, },
application: {
network: {
groupchat: { autoconnect: false,
open: ['support@conference.yunohost.org'] },
} interface: {
}, showpane: false,
}); animate: false,
}); },
groupchat: {
open: ['support@conference.yunohost.org']
}
},
});
</script> </script>