This commit is contained in:
j 2016-01-16 14:30:16 +05:30
parent 5860bc0e72
commit 39dac41b66

View file

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