This commit is contained in:
j 2016-01-16 14:30:16 +05:30
parent 5860bc0e72
commit 39dac41b66
1 changed files with 3 additions and 5 deletions

View File

@ -56,11 +56,9 @@ oml.ui.appDialog = function() {
$content.append(oml.ui.contactForm()); $content.append(oml.ui.contactForm());
} else { } else {
Ox.get('/static/html/app.html', function(html) { Ox.get('/static/html/app.html', function(html) {
var $html = $('<div>'), var $html = $('<div>').html(html),
strings = {}; section = $html.find('#' + id).html();
$html.html(Ox.formatString(html, strings)); $content.html('<h1><b>' + title + '</b></h1>' + section);
var section = $html.find('#' + id).html();
$content.html('<h1><b>' + title + '</b></h1><p>' + section + '</p>');
}); });
} }
$('<div>') $('<div>')