~unifield-team/unifield-web/former-web-uf-1258

« back to all changes in this revision

Viewing changes to addons/openerp/static/javascript/binary.js

  • Committer: jf
  • Date: 2012-07-18 11:56:03 UTC
  • mfrom: (4659.1.1 unifield-web)
  • Revision ID: jf@tempo4-20120718115603-fxw6jtkqm531cnkj
Tags: dsp5rc1, dsp5rc2, dsp5rc3, dsp5rc4, sprint5-rc1
UF-1053 [DEV] Import export PO FO
lp:~unifield-team/unifield-web/uf_1205_save_as

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    prefix = prefix ? prefix + '/' : '';
30
30
 
31
31
    var fname = openobject.dom.get(prefix + filename) || openobject.dom.get(prefix + 'name');
32
 
 
33
 
    fname = fname ? fname.value || fname.innerHTML : null;
 
32
    fname = fname ? fname.value.replace('/','_') || fname.innerHTML : null;
34
33
 
35
34
    var act = get_form_action('save_binary_data', undefined);
36
35
    act = fname ? act + '/' + fname : act;