[IMP] Terminology

pull/4/head
unknown 2013-12-02 15:01:40 +01:00 committed by Holger Brunn
commit 0fdcae8b24
4 changed files with 9 additions and 9 deletions

View File

@ -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": [
],

View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@ -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])