Merge lp:~fabien-morin/unifield-web/fm-us-1780 into lp:unifield-web

Proposed by jftempo
Status: Merged
Merged at revision: 4818
Proposed branch: lp:~fabien-morin/unifield-web/fm-us-1780
Merge into: lp:unifield-web
Diff against target: 14 lines (+2/-0)
1 file modified
addons/openerp/static/javascript/form.js (+2/-0)
To merge this branch: bzr merge lp:~fabien-morin/unifield-web/fm-us-1780
Reviewer Review Type Date Requested Status
UniField Dev Team Pending
Review via email: mp+309474@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'addons/openerp/static/javascript/form.js'
2--- addons/openerp/static/javascript/form.js 2016-09-08 12:22:46 +0000
3+++ addons/openerp/static/javascript/form.js 2016-10-27 14:29:19 +0000
4@@ -301,8 +301,10 @@
5 // Cant use $form.attr due to http://dev.jquery.com/ticket/3113 as there is a form with a field called
6 // action when creating an activity
7 $form[0].setAttribute('action', action);
8+ previous_target = $form.attr("target");
9 $form.attr("target", target);
10 $form.submit();
11+ $form.attr("target", previous_target);
12 }
13
14 function pager_action(src){

Subscribers

People subscribed via source and target branches