Browse Source

[FIX] rename all references to web_hide_menu

pull/131/head
Holger Brunn 10 years ago
parent
commit
5823fc4898
  1. 4
      web_menu_autohide/data/ir_config_parameter.xml
  2. 0
      web_menu_autohide/static/src/css/web_menu_autohide.css
  3. 2
      web_menu_autohide/static/src/js/web_menu_autohide.js
  4. 4
      web_menu_autohide/views/templates.xml

4
web_menu_autohide/data/ir_config_parameter.xml

@ -2,11 +2,11 @@
<openerp> <openerp>
<data noupdate="1"> <data noupdate="1">
<record id="param_show_bar_treshold" model="ir.config_parameter"> <record id="param_show_bar_treshold" model="ir.config_parameter">
<field name="key">web_hide_menu.show_bar_treshold</field>
<field name="key">web_menu_autohide.show_bar_treshold</field>
<field name="value">10</field> <field name="value">10</field>
</record> </record>
<record id="param_hide_delay" model="ir.config_parameter"> <record id="param_hide_delay" model="ir.config_parameter">
<field name="key">web_hide_menu.hide_delay</field>
<field name="key">web_menu_autohide.hide_delay</field>
<field name="value">10000</field> <field name="value">10000</field>
</record> </record>
</data> </data>

0
web_menu_autohide/static/src/css/web_hide_menu.css → web_menu_autohide/static/src/css/web_menu_autohide.css

2
web_menu_autohide/static/src/js/web_hide_menu.js → web_menu_autohide/static/src/js/web_menu_autohide.js

@ -32,7 +32,7 @@ openerp.web_hide_menu = function(instance)
return this._super.apply(this, arguments) return this._super.apply(this, arguments)
.then(function() .then(function()
{ {
var addon_name = 'web_hide_menu',
var addon_name = 'web_menu_autohide',
parameters = _.map( parameters = _.map(
['show_bar_treshold', 'hide_delay'], ['show_bar_treshold', 'hide_delay'],
function(a) { return addon_name + '.' + a }); function(a) { return addon_name + '.' + a });

4
web_menu_autohide/views/templates.xml

@ -3,8 +3,8 @@
<data> <data>
<template id="assets_backend" name="web_hide_menu assets" inherit_id="web.assets_backend"> <template id="assets_backend" name="web_hide_menu assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside"> <xpath expr="." position="inside">
<script type="text/javascript" src="/web_hide_menu/static/src/js/web_hide_menu.js"></script>
<link rel="stylesheet" href="/web_hide_menu/static/src/css/web_hide_menu.css"/>
<script type="text/javascript" src="/web_menu_autohide/static/src/js/web_menu_autohide.js"></script>
<link rel="stylesheet" href="/web_menu_autohide/static/src/css/web_menu_autohide.css"/>
</xpath> </xpath>
</template> </template>
</data> </data>

Loading…
Cancel
Save