widgets.render doesn't actually use the url

This commit is contained in:
psychobunny
2014-07-09 15:20:59 -04:00
parent 9d7a8fcc0b
commit ecbb05ccca
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@
});
};
ajaxify.widgets.render = function(tpl_url, url, callback) {
ajaxify.widgets.render = function(tpl_url, callback) {
var widgetLocations = ['sidebar', 'footer', 'header'], numLocations;
$('#content [widget-area]').each(function() {
@@ -33,7 +33,7 @@
function renderWidgets(location) {
var area = $('#content [widget-area="' + location + '"]');
socket.emit('widgets.render', {template: tpl_url + '.tpl', url: url, location: location}, function(err, renderedWidgets) {
socket.emit('widgets.render', {template: tpl_url + '.tpl', location: location}, function(err, renderedWidgets) {
if (err) {
return;
}