fix closed list

This commit is contained in:
2012-10-30 15:02:51 +01:00
parent b952a10f64
commit 3580b8a89e
2 changed files with 12 additions and 11 deletions
+4 -8
View File
@@ -17,9 +17,9 @@ html lang="en"
link href="/images/apple-touch-icon.png" rel="apple-touch-icon-precomposed"
link href="/favicon.ico" rel="shortcut icon"
javascript:
//var data_host = 'http://data.qwaiter.com';
var data_host = 'http://data.qwaiter.com';
//var data_host = 'http://localhost:3000';
var data_host = 'http://192.168.1.74:3000';
//var data_host = 'http://192.168.1.74:3000';
var $locale = '#{I18n.locale}';
var $url_vars = null;
// Dummy holder when Qmobile object is not supplied by the mobile phone
@@ -65,13 +65,9 @@ html lang="en"
.row
.span12
= yield
/!
/
Javascripts
\==================================================
/! Placed at the end of the document so the pages load faster
/ Placed at the end of the document so the pages load faster
= javascript_include_tag "user/application"
= yield :footer
javascript:
$(function(){
$('[data-t]').each(function(){$(this).text(t($(this).attr('data-t')))})
});