Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
amrani
erp5
Commits
2d5f45e0
Commit
2d5f45e0
authored
Aug 16, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs] Bookmark Manager: Update app cache and fixs
parent
48257d7f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
21 deletions
+29
-21
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_manager_appcache.xml
...page_module/gadget_officejs_bookmark_manager_appcache.xml
+4
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_preference_js.js
...age_module/gadget_officejs_bookmark_page_preference_js.js
+20
-14
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_preference_js.xml
...ge_module/gadget_officejs_bookmark_page_preference_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_view_js.js
...eItem/web_page_module/gadget_officejs_bookmark_view_js.js
+1
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_view_js.xml
...Item/web_page_module/gadget_officejs_bookmark_view_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_manager_appcache.xml
View file @
2d5f45e0
...
@@ -193,6 +193,8 @@ gadget_erp5_search_editor.js\n
...
@@ -193,6 +193,8 @@ gadget_erp5_search_editor.js\n
gadget_erp5_sort_editor.html\n
gadget_erp5_sort_editor.html\n
gadget_erp5_sort_editor.js\n
gadget_erp5_sort_editor.js\n
\n
\n
gadget_erp5_field_checkbox.html\n
gadget_erp5_field_checkbox.js\n
gadget_officejs_bookmark_manager_router.html\n
gadget_officejs_bookmark_manager_router.html\n
gadget_officejs_jio_bookmark_view.html\n
gadget_officejs_jio_bookmark_view.html\n
gadget_officejs_jio_bookmark_view.js\n
gadget_officejs_jio_bookmark_view.js\n
...
@@ -350,7 +352,7 @@ NETWORK:\n
...
@@ -350,7 +352,7 @@ NETWORK:\n
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
961.1
1869.34421.55569
</string>
</value>
<value>
<string>
961.1
6277.24517.44253
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -368,7 +370,7 @@ NETWORK:\n
...
@@ -368,7 +370,7 @@ NETWORK:\n
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
150
1841135.17
</float>
<float>
150
2876178.53
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_preference_js.js
View file @
2d5f45e0
...
@@ -3,18 +3,6 @@
...
@@ -3,18 +3,6 @@
(
function
(
window
,
RSVP
,
rJS
,
URL
)
{
(
function
(
window
,
RSVP
,
rJS
,
URL
)
{
"
use strict
"
;
"
use strict
"
;
function
saveOptionDict
(
gadget
)
{
var
option_dict
=
{
search_engine
:
gadget
.
element
.
querySelector
(
"
.options input[name=
\"
search_engine
\"
]
"
).
value
,
auto_redirect
:
gadget
.
element
.
querySelector
(
"
.options input[name=
\"
auto_redirect
\"
]
"
).
checked
};
return
gadget
.
setSetting
(
"
option
"
,
option_dict
);
}
rJS
(
window
)
rJS
(
window
)
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// Acquired methods
// Acquired methods
...
@@ -23,6 +11,8 @@
...
@@ -23,6 +11,8 @@
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
getSetting
"
,
"
getSetting
"
)
.
declareAcquiredMethod
(
"
getSetting
"
,
"
getSetting
"
)
.
declareAcquiredMethod
(
"
setSetting
"
,
"
setSetting
"
)
.
declareAcquiredMethod
(
"
setSetting
"
,
"
setSetting
"
)
.
declareAcquiredMethod
(
"
notifySubmitting
"
,
"
notifySubmitting
"
)
.
declareAcquiredMethod
(
"
notifySubmitted
"
,
'
notifySubmitted
'
)
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// declared methods
// declared methods
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
...
@@ -83,7 +73,7 @@
...
@@ -83,7 +73,7 @@
"
css_class
"
:
""
,
"
css_class
"
:
""
,
"
required
"
:
1
,
"
required
"
:
1
,
"
editable
"
:
1
,
"
editable
"
:
1
,
"
key
"
:
"
title
"
,
"
key
"
:
"
auto_redirect
"
,
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
CheckBoxField
"
"
type
"
:
"
CheckBoxField
"
},
},
...
@@ -116,7 +106,23 @@
...
@@ -116,7 +106,23 @@
});
});
})
})
.
onEvent
(
"
submit
"
,
function
()
{
.
onEvent
(
"
submit
"
,
function
()
{
saveOptionDict
(
this
);
var
gadget
=
this
;
return
gadget
.
notifySubmitting
()
.
push
(
function
()
{
return
gadget
.
getDeclaredGadget
(
"
form_view
"
);
})
.
push
(
function
(
form_gadget
)
{
return
form_gadget
.
getContent
();
})
.
push
(
function
(
content
)
{
return
RSVP
.
all
([
gadget
.
setSetting
(
'
bookmark_auto_redirect
'
,
content
.
auto_redirect
),
gadget
.
setSetting
(
'
bookmark_search_engine
'
,
content
.
search_engine
)
]);
})
.
push
(
function
()
{
return
gadget
.
notifySubmitted
(
'
Preferences Saved
'
);
});
});
});
}(
window
,
RSVP
,
rJS
,
URL
));
}(
window
,
RSVP
,
rJS
,
URL
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_page_preference_js.xml
View file @
2d5f45e0
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
961.
9320.43291.25821
</string>
</value>
<value>
<string>
961.
29122.59801.40686
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
150
1746619.11
</float>
<float>
150
2876708.86
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_view_js.js
View file @
2d5f45e0
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
"
hidden
"
:
0
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
"
type
"
:
"
StringField
"
},
},
"
description
"
:
{
"
my_
description
"
:
{
"
description
"
:
""
,
"
description
"
:
""
,
"
title
"
:
"
Description
"
,
"
title
"
:
"
Description
"
,
"
default
"
:
gadget
.
state
.
doc
.
description
,
"
default
"
:
gadget
.
state
.
doc
.
description
,
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_view_js.xml
View file @
2d5f45e0
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
961.1
1872.7503.60654
</string>
</value>
<value>
<string>
961.1
6277.24517.44253
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
150
1841404.2
</float>
<float>
150
3056104.29
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment