Skip to content

Commit

Permalink
fix recipe add dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
norbertlaposa committed Jul 11, 2023
1 parent c48d1e3 commit 4bda24e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/bo/pages/ecommerce/recipes.html
Expand Up @@ -31,7 +31,7 @@
$('#recipes a.add').live('click', function() {
var child_id = $(this).attr('href').replace('#','');;
$('#onyx-dialog').addClass('ajax-load').load('/request/bo/component/ecommerce/recipe_add', function() {$(this).removeClass('ajax-load');});
$('#onyx-dialog').dialog({width: 500, modal: true, position: {my: "center top", at: "centre top", of: "div.recipe_list"}, title: 'Add new recipe'});
$('#onyx-dialog').dialog({width: 500, modal: true, position: {my: "center top", at: "centre top", of: "div.recipe-list"}, title: 'Add new recipe'});
$('#onyx-dialog').dialog('open');
return false;
});
Expand Down

0 comments on commit 4bda24e

Please sign in to comment.