From 5c9f8f3ef023d55b7794d03304843e3d879e8859 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Wed, 24 Oct 2012 14:00:49 +0200 Subject: [PATCH] Fix #948 404 error while uploading elements in bridge --- templates/web/prod/actions/Bridge/index.twig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/web/prod/actions/Bridge/index.twig b/templates/web/prod/actions/Bridge/index.twig index c8bfa53408..658fd62464 100644 --- a/templates/web/prod/actions/Bridge/index.twig +++ b/templates/web/prod/actions/Bridge/index.twig @@ -307,9 +307,11 @@ $(function() { }); $("ul li a.account", pub_tabs).bind("click", function(){ - $('form[name="current_datas"] input[name="account_id"]', container).val($('input[name="account_id"]', this).val()); + $('#dialog_publicator form[name="current_datas"] input[name="account_id"]').val($('input[name="account_id"]', this).val()); }); + $("ul li.ui-tabs-selected a.account", pub_tabs).trigger("click"); + $('#publicator_selection .PNB10:first').selectable(); $('#publicator_selection button.act_upload').bind('click', function(){