From 029b87261bb9fd284020fc7edfc5a7d08877c451 Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Mon, 2 Dec 2013 11:30:01 +0100 Subject: [PATCH] [IMP] Terminology --- .../__init__.py | 0 .../__openerp__.py | 12 ++++++------ .../static/src/img/icon.png | Bin .../static/src/js/web_ir_actions_act_window_page.js | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) rename {web_ir_actions_act_window_scroll => web_ir_actions_act_window_page}/__init__.py (100%) rename {web_ir_actions_act_window_scroll => web_ir_actions_act_window_page}/__openerp__.py (82%) rename {web_ir_actions_act_window_scroll => web_ir_actions_act_window_page}/static/src/img/icon.png (100%) rename web_ir_actions_act_window_scroll/static/src/js/web_ir_actions_act_window_scroll.js => web_ir_actions_act_window_page/static/src/js/web_ir_actions_act_window_page.js (89%) diff --git a/web_ir_actions_act_window_scroll/__init__.py b/web_ir_actions_act_window_page/__init__.py similarity index 100% rename from web_ir_actions_act_window_scroll/__init__.py rename to web_ir_actions_act_window_page/__init__.py diff --git a/web_ir_actions_act_window_scroll/__openerp__.py b/web_ir_actions_act_window_page/__openerp__.py similarity index 82% rename from web_ir_actions_act_window_scroll/__openerp__.py rename to web_ir_actions_act_window_page/__openerp__.py index c7b6a238..31054808 100644 --- a/web_ir_actions_act_window_scroll/__openerp__.py +++ b/web_ir_actions_act_window_page/__openerp__.py @@ -19,23 +19,23 @@ # ############################################################################## { - "name" : "Window actions for client side scrolling", + "name" : "Window actions for client side paging", "version" : "1.0", "author" : "Therp BV", "complexity": "normal", "description": """ -Client side scrolling +Client side paging ===================== This addon enables buttons to return:: -{'type': 'ir.actions.act_window.scroll.next'} +{'type': 'ir.actions.act_window.page.next'} or:: -{'type': 'ir.actions.act_window.scroll.prev'} +{'type': 'ir.actions.act_window.page.prev'} -which trigger the form's controller to scroll into the requested direction. +which trigger the form's controller to page into the requested direction. """, "category" : "Dependency", "depends" : [ @@ -43,7 +43,7 @@ which trigger the form's controller to scroll into the requested direction. "data" : [ ], "js": [ - 'static/src/js/web_ir_actions_act_window_scroll.js', + 'static/src/js/web_ir_actions_act_window_page.js', ], "css": [ ], diff --git a/web_ir_actions_act_window_scroll/static/src/img/icon.png b/web_ir_actions_act_window_page/static/src/img/icon.png similarity index 100% rename from web_ir_actions_act_window_scroll/static/src/img/icon.png rename to web_ir_actions_act_window_page/static/src/img/icon.png diff --git a/web_ir_actions_act_window_scroll/static/src/js/web_ir_actions_act_window_scroll.js b/web_ir_actions_act_window_page/static/src/js/web_ir_actions_act_window_page.js similarity index 89% rename from web_ir_actions_act_window_scroll/static/src/js/web_ir_actions_act_window_scroll.js rename to web_ir_actions_act_window_page/static/src/js/web_ir_actions_act_window_page.js index 1e0d3080..8210df92 100644 --- a/web_ir_actions_act_window_scroll/static/src/js/web_ir_actions_act_window_scroll.js +++ b/web_ir_actions_act_window_page/static/src/js/web_ir_actions_act_window_page.js @@ -19,10 +19,10 @@ // //############################################################################ -openerp.web_ir_actions_act_window_scroll = function(openerp) +openerp.web_ir_actions_act_window_page = function(openerp) { openerp.web.ActionManager.include({ - ir_actions_act_window_scroll_prev: function(action, options) + ir_actions_act_window_page_prev: function(action, options) { if(this.inner_widget && this.inner_widget.active_view == 'form' && this.inner_widget.views[this.inner_widget.active_view]) @@ -31,7 +31,7 @@ openerp.web_ir_actions_act_window_scroll = function(openerp) .controller.execute_pager_action('previous'); } }, - ir_actions_act_window_scroll_next: function(action, options) + ir_actions_act_window_page_next: function(action, options) { if(this.inner_widget && this.inner_widget.active_view == 'form' && this.inner_widget.views[this.inner_widget.active_view])