mirror of
https://github.com/Mibew/java.git
synced 2025-01-22 17:40:35 +03:00
Update JavaScript code at install pages
This commit is contained in:
parent
4f47218a13
commit
6c1852e094
@ -1 +1 @@
|
||||
Behaviour.register({"a#check-nv":function(a){a.onclick=function(){playSound(wroot+"/sounds/new_user.wav")}},"a#check-nm":function(a){a.onclick=function(){playSound(wroot+"/sounds/new_message.wav")}}});
|
||||
(function(b,a){a(document).ready(function(){a("#check-nv").click(function(){b.Utils.playSound("../sounds/new_user.wav")});a("#check-nm").click(function(){b.Utils.playSound("../sounds/new_message.wav")})})})(Mibew,$);
|
||||
|
@ -1,12 +1,11 @@
|
||||
Behaviour.register({
|
||||
'a#check-nv' : function(el) {
|
||||
el.onclick = function() {
|
||||
playSound(wroot + '/sounds/new_user.wav');
|
||||
};
|
||||
},
|
||||
'a#check-nm' : function(el) {
|
||||
el.onclick = function() {
|
||||
playSound(wroot + '/sounds/new_message.wav')
|
||||
};
|
||||
}
|
||||
(function(Mibew, $) {
|
||||
$(document).ready(function() {
|
||||
$('#check-nv').click(function(){
|
||||
Mibew.Utils.playSound('../sounds/new_user.wav');
|
||||
});
|
||||
|
||||
$('#check-nm').click(function() {
|
||||
Mibew.Utils.playSound('../sounds/new_message.wav');
|
||||
});
|
||||
});
|
||||
})(Mibew, $);
|
||||
|
@ -24,10 +24,19 @@ $page['fixedwrap'] = true;
|
||||
function tpl_header() { global $page, $webimroot;
|
||||
if($page['soundcheck']) {
|
||||
?>
|
||||
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/compiled/common.js"></script>
|
||||
<script type="text/javascript" language="javascript"><!--
|
||||
var wroot ="<?php echo $webimroot ?>";
|
||||
//--></script>
|
||||
|
||||
<!-- External libs -->
|
||||
<script type="text/javascript" src="<?php echo $webimroot ?>/js/libs/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo $webimroot ?>/js/libs/json2.js"></script>
|
||||
<script type="text/javascript" src="<?php echo $webimroot ?>/js/libs/underscore-min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo $webimroot ?>/js/libs/backbone-min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo $webimroot ?>/js/libs/backbone.marionette.min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo $webimroot ?>/js/libs/handlebars.js"></script>
|
||||
|
||||
<!-- Default application files -->
|
||||
<script type="text/javascript" src="<?php echo $webimroot ?>/js/compiled/mibewapi.js"></script>
|
||||
<script type="text/javascript" src="<?php echo $webimroot ?>/js/compiled/default_app.js"></script>
|
||||
|
||||
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/compiled/soundcheck.js"></script>
|
||||
<?php
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user