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
Yoji Takeuchi
erp5
Commits
a712c555
Commit
a712c555
authored
Sep 18, 2014
by
Romain Courteaud
Committed by
Sebastien Robin
Sep 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JSLint
parent
143b3b40
Changes
20
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
266 additions
and
277 deletions
+266
-277
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_bin_js.xml
...ui/PathTemplateItem/web_page_module/rjs_gadget_bin_js.xml
+7
-7
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_codemirror_js.xml
...TemplateItem/web_page_module/rjs_gadget_codemirror_js.xml
+8
-6
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_breadcrumb_js.xml
...ateItem/web_page_module/rjs_gadget_erp5_breadcrumb_js.xml
+8
-11
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_floatfield_js.xml
...ateItem/web_page_module/rjs_gadget_erp5_floatfield_js.xml
+6
-5
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_form_js.xml
...hTemplateItem/web_page_module/rjs_gadget_erp5_form_js.xml
+35
-40
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
...i/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
+27
-26
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
...mplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
+11
-9
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listfield_js.xml
...lateItem/web_page_module/rjs_gadget_erp5_listfield_js.xml
+3
-3
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_form_dialog_js.xml
...tem/web_page_module/rjs_gadget_erp5_pt_form_dialog_js.xml
+6
-9
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_form_list_js.xml
...eItem/web_page_module/rjs_gadget_erp5_pt_form_list_js.xml
+8
-10
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_form_view_js.xml
...eItem/web_page_module/rjs_gadget_erp5_pt_form_view_js.xml
+29
-32
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_frontpage_js.xml
...eItem/web_page_module/rjs_gadget_erp5_pt_frontpage_js.xml
+6
-6
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_loginform_js.xml
...eItem/web_page_module/rjs_gadget_erp5_pt_loginform_js.xml
+8
-8
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_readonlyfield_js.xml
...Item/web_page_module/rjs_gadget_erp5_readonlyfield_js.xml
+6
-5
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_searchfield_js.xml
...teItem/web_page_module/rjs_gadget_erp5_searchfield_js.xml
+61
-63
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_stringfield_js.xml
...teItem/web_page_module/rjs_gadget_erp5_stringfield_js.xml
+7
-6
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_tab_list_js.xml
...plateItem/web_page_module/rjs_gadget_erp5_tab_list_js.xml
+11
-14
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_textareafield_js.xml
...Item/web_page_module/rjs_gadget_erp5_textareafield_js.xml
+7
-6
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_global_js.xml
...PathTemplateItem/web_page_module/rjs_gadget_global_js.xml
+5
-5
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_jio_js.xml
...ui/PathTemplateItem/web_page_module/rjs_gadget_jio_js.xml
+7
-6
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_bin_js.xml
View file @
a712c555
...
...
@@ -101,9 +101,9 @@
<key>
<string>
text_content
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
/*global jQuery, rJS, RSVP, Handlebars, initGadgetMixin */\n
/*jslint nomen: true */\n
(function (window, $, rJS, RSVP, Handlebars, initGadgetMixin) {\n
/*global jQuery, rJS, RSVP, Handlebars, initGadgetMixin
, window, document
*/\n
/*jslint nomen: true
, indent: 2, maxerr: 3
*/\n
(function (window,
document,
$, rJS, RSVP, Handlebars, initGadgetMixin) {\n
"use strict";\n
/////////////////////////////////////////////////////////////////\n
// Desactivate jQuery Mobile URL management\n
...
...
@@ -641,7 +641,7 @@
}\n
});\n
});\n
}(window, jQuery, rJS, RSVP));
}(window,
document,
jQuery, rJS, RSVP));
]]>
</string>
</value>
</item>
...
...
@@ -764,7 +764,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
<value>
<string>
romain
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -778,7 +778,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.8778.52375.55654
</string>
</value>
<value>
<string>
93
7.42762.14684.44987
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -796,7 +796,7 @@
</tuple>
<state>
<tuple>
<float>
14
05933454.75
</float>
<float>
14
11050883.77
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_codemirror_js.xml
View file @
a712c555
...
...
@@ -99,7 +99,9 @@
</item>
<item>
<key>
<string>
text_content
</string>
</key>
<value>
<string>
(function (window, rJS, RSVP, CodeMirror) {\n
<value>
<string>
/*jslint nomen: true, indent: 2, maxerr: 3 */\n
/*global window, rJS, CodeMirror */\n
(function (window, rJS, CodeMirror) {\n
"use strict";\n
\n
rJS(window)\n
...
...
@@ -129,13 +131,13 @@
vimMode: true,\n
matchBrackets: true,\n
showCursorWhenSelecting: true,\n
autofocus: false
,
\n
autofocus: false\n
});\n
\n
});\n
\n
\n
// CodeMirror.commands.save = function(){ alert("Saving"); };\n
}(window, rJS,
RSVP,
CodeMirror));
</string>
</value>
}(window, rJS, CodeMirror));
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -270,7 +272,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.25841.6645.4881
0
</string>
</value>
<value>
<string>
93
7.42768.23617.2589
0
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -288,7 +290,7 @@
</tuple>
<state>
<tuple>
<float>
14
06103469.44
</float>
<float>
14
11051242.17
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_breadcrumb_js.xml
View file @
a712c555
...
...
@@ -99,12 +99,9 @@
</item>
<item>
<key>
<string>
text_content
</string>
</key>
<value>
<string>
/*global rJS, RSVP, jQuery, Handlebars,\n
promiseEventListener, console */\n
/*jslint nomen: true */\n
/*global window, rJS, RSVP, StatelessJS, alert, FormData, document, console */\n
/*jslint maxlen:200, nomen: true */\n
(function (window, rJS, RSVP) {\n
<value>
<string>
/*jslint indent: 2, maxerr: 3 */\n
/*global URI, document, window, rJS */\n
(function (URI, document, window, rJS) {\n
"use strict";\n
\n
/////////////////////////////////////////////////////////////////\n
...
...
@@ -168,7 +165,7 @@
}\n
});\n
\n
}(
window, rJS, RSVP
));
</string>
</value>
}(
URI, document, window, rJS
));
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -289,7 +286,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
sve
n
</string>
</value>
<value>
<string>
romai
n
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -303,7 +300,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
937.
8179.20788.60245
</string>
</value>
<value>
<string>
937.
42799.61797.63761
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -321,7 +318,7 @@
</tuple>
<state>
<tuple>
<float>
14
08976172
.25
</float>
<float>
14
11053138
.25
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_floatfield_js.xml
View file @
a712c555
...
...
@@ -99,8 +99,9 @@
</item>
<item>
<key>
<string>
text_content
</string>
</key>
<value>
<string>
/*global window, rJS, console, RSVP */\n
(function (rJS) {\n
<value>
<string>
/*global window, rJS */\n
/*jslint indent: 2, maxerr: 3 */\n
(function (window, rJS) {\n
"use strict";\n
\n
rJS(window)\n
...
...
@@ -133,7 +134,7 @@
return result;\n
});\n
\n
}(rJS));
</string>
</value>
}(
window,
rJS));
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -268,7 +269,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.48879.33714.580
</string>
</value>
<value>
<string>
93
7.42715.45132.18756
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -286,7 +287,7 @@
</tuple>
<state>
<tuple>
<float>
14
07485752.3
</float>
<float>
14
11053203.71
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_form_js.xml
View file @
a712c555
...
...
@@ -101,12 +101,9 @@
<key>
<string>
text_content
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
/*global rJS, RSVP, jQuery, Handlebars,\n
promiseEventListener, console */\n
/*jslint nomen: true */\n
/*global window, rJS, RSVP, StatelessJS, alert, FormData, document, console */\n
/*jslint maxlen:200, nomen: true */\n
(function (window, rJS, RSVP) {\n
/*jslint nomen: true, indent: 2, maxerr: 3 */\n
/*global window, document, rJS, RSVP*/\n
(function (window, document, rJS, RSVP) {\n
"use strict";\n
\n
/////////////////////////////////////////////////////////////////\n
...
...
@@ -167,7 +164,7 @@
fieldset_element = document.createElement("fieldset"),\n
group_queue = new RSVP.Queue();\n
\n
function addField(field
, scope
) {\n
function addField(field) {\n
group_queue.push(function () {\n
if (rendered_form.hasOwnProperty(field[0])) {\n
// Field is enabled in this context\n
...
...
@@ -252,12 +249,10 @@
\n
\n
.declareMethod("getContent", function () {\n
var form_gadget = this;\n
\n
var k,\n
var form_gadget = this,\n
k,\n
field_gadget,\n
count = form_gadget.props.gadget_list.length,\n
// // data = new FormData(),\n
data = {},\n
queue = new RSVP.Queue();\n
\n
...
...
@@ -286,7 +281,7 @@
\n
});\n
\n
}(window, rJS, RSVP));
}(window,
document,
rJS, RSVP));
]]>
</string>
</value>
</item>
...
...
@@ -409,7 +404,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
sve
n
</string>
</value>
<value>
<string>
romai
n
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -423,7 +418,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.56175.55013.14626
</string>
</value>
<value>
<string>
93
7.42816.54745.57241
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -441,7 +436,7 @@
</tuple>
<state>
<tuple>
<float>
14
07924093.61
</float>
<float>
14
11054146.03
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
View file @
a712c555
...
...
@@ -101,9 +101,9 @@
<key>
<string>
text_content
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
/*global
rJS, RSVP, jQuery, URI, console, $
*/\n
/*jslint
indent: 2, maxlen: 80, nomen: true
*/\n
(function (
rJS, RSVP, URI
) {\n
/*global
window, document, rJS, RSVP, jQuery, URI, console, jQuery
*/\n
/*jslint
nomen: true, indent: 2, maxerr: 3
*/\n
(function (
window, document, rJS, RSVP, $, URI, console
) {\n
"use strict";\n
\n
/////////////////////////////////////////////////////////////////\n
...
...
@@ -127,7 +127,7 @@
});\n
}\n
\n
function renderFrontpage(gadget
, options
) {\n
function renderFrontpage(gadget) {\n
return gadget.props.breadcrumb_gadget.render({title: "ERP5"})\n
.push(function () {\n
return gadget.declareGadget(gadget.props.frontpage_gadget, {\n
...
...
@@ -142,7 +142,7 @@
});\n
}\n
\n
function renderLoginForm(gadget
, options
) {\n
function renderLoginForm(gadget) {\n
return gadget.props.breadcrumb_gadget.render({title: "Login"})\n
.push(function () {\n
return gadget.declareGadget("gadget_erp5_pt_loginform.html", {\n
...
...
@@ -258,7 +258,7 @@
frontpage_gadget: "gadget_erp5_pt_frontpage.html",\n
hateoas_url: "hateoas/",\n
action_view: "action_object_view",\n
default_view_reference: "view",
\n
default_view_reference: "view"
\n
};\n
return g.getDeclaredGadget("breadcrumb")\n
.push(function (sub_gadget) {\n
...
...
@@ -352,10 +352,11 @@
// Render the page\n
.declareMethod(\'render\', function (options) {\n
var gadget = this,\n
new_element,\n
queue;\n
\n
if (options.jio_key === undefined) {\n
var
new_element = gadget.__element.querySelector(".ui-icon-plus");\n
new_element = gadget.__element.querySelector(".ui-icon-plus");\n
new_element.href = "";\n
if (!new_element.classList.contains("ui-disabled")) {\n
new_element.classList.add("ui-disabled");\n
...
...
@@ -393,7 +394,7 @@
// add all HTML nodes to fragment\n
for (i = 0, len = response_list.length; i < len; i += 1) {\n
item = response_list[i] || {};\n
if (item.nodeType && item.nodeType
== 1) {\n
if (item.nodeType && item.nodeType =
== 1) {\n
fragment.appendChild(item);\n
}\n
}\n
...
...
@@ -420,7 +421,7 @@
});\n
});\n
\n
}(
rJS, RSVP, URI
));
}(
window, document, rJS, RSVP, jQuery, URI, console
));
]]>
</string>
</value>
</item>
...
...
@@ -543,7 +544,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
sve
n
</string>
</value>
<value>
<string>
romai
n
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -557,7 +558,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
937.
22192.46889.64802
</string>
</value>
<value>
<string>
937.
42777.53771.30873
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -575,7 +576,7 @@
</tuple>
<state>
<tuple>
<float>
14
09819356.02
</float>
<float>
14
11051824.11
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listbox_js.xml
View file @
a712c555
...
...
@@ -101,9 +101,9 @@
<key>
<string>
text_content
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
/*
global window, rJS, document, RSVP, URI, console
*/\n
/*
jslint maxlen:120, nomen: true
*/\n
(function (
rJS, document, RSVP, window, URI
) {\n
/*
jslint indent: 2, maxerr: 3
*/\n
/*
global window, document, rJS, URI, RSVP
*/\n
(function (
window, document, rJS, URI, RSVP
) {\n
"use strict";\n
\n
rJS(window)\n
...
...
@@ -203,8 +203,10 @@
tr,\n
th,\n
a,\n
result =
dataset =
result_list[0],\n
result = result_list[0],\n
tmp_url;\n
\n
dataset = result;\n
\n
for (i = 0; i < counter; i += 1) {\n
tr = document.createElement("tr");\n
...
...
@@ -265,7 +267,7 @@
paging_prev.textContent = "Previous";\n
paging_prev.href = url_list[0];\n
paging_info.className = "ui-btn ui-disabled custom-readonly";\n
paging_info.textContent = "Page " + ((begin_from + lines)
/
lines);\n
paging_info.textContent = "Page " + ((begin_from + lines)
/
lines);\n
paging_next.className = "ui-btn ui-icon-carat-r ui-btn-icon-right ui-last-child";\n
paging_next.textContent = "Next";\n
paging_next.href = url_list[1];\n
...
...
@@ -296,7 +298,7 @@
});\n
});\n
\n
}(
rJS, document, RSVP, window, URI
));
}(
window, document, rJS, URI, RSVP
));
]]>
</string>
</value>
</item>
...
...
@@ -419,7 +421,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
sve
n
</string>
</value>
<value>
<string>
romai
n
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -433,7 +435,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.38910.37618.18432
</string>
</value>
<value>
<string>
93
7.42823.42032.43861
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -451,7 +453,7 @@
</tuple>
<state>
<tuple>
<float>
14
06887627.77
</float>
<float>
14
11054572.53
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_listfield_js.xml
View file @
a712c555
...
...
@@ -102,7 +102,7 @@
<value>
<string
encoding=
"cdata"
>
<![CDATA[
/*global window, rJS, Handlebars */\n
/*jslint nomen: true */\n
/*jslint nomen: true
, indent: 2, maxerr: 3
*/\n
(function (window, rJS, Handlebars) {\n
"use strict";\n
\n
...
...
@@ -292,7 +292,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.47463.9384.63232
</string>
</value>
<value>
<string>
93
7.42824.63714.12373
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -310,7 +310,7 @@
</tuple>
<state>
<tuple>
<float>
14
07400855.36
</float>
<float>
14
11054676.69
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_form_dialog_js.xml
View file @
a712c555
...
...
@@ -101,12 +101,9 @@
<key>
<string>
text_content
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
/*global rJS, RSVP, jQuery, Handlebars,\n
promiseEventListener, console */\n
/*jslint nomen: true */\n
/*global window, rJS, RSVP, StatelessJS, alert, FormData, document, console */\n
/*jslint maxlen:200, nomen: true */\n
(function (window, rJS, RSVP) {\n
/*jslint nomen: true, indent: 2, maxerr: 3 */\n
/*global window, rJS, RSVP, FormData, jIO*/\n
(function (window, rJS, RSVP, FormData, jIO) {\n
"use strict";\n
\n
/////////////////////////////////////////////////////////////////\n
...
...
@@ -232,7 +229,7 @@
);\n
});\n
\n
}(window, rJS, RSVP));
}(window, rJS, RSVP
, FormData, jIO
));
]]>
</string>
</value>
</item>
...
...
@@ -369,7 +366,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.46364.59346.52275
</string>
</value>
<value>
<string>
93
7.42828.64511.54152
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -387,7 +384,7 @@
</tuple>
<state>
<tuple>
<float>
14
07335049.69
</float>
<float>
14
11054893.66
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_form_list_js.xml
View file @
a712c555
...
...
@@ -99,10 +99,8 @@
</item>
<item>
<key>
<string>
text_content
</string>
</key>
<value>
<string>
/*global rJS, RSVP, jQuery, Handlebars,\n
promiseEventListener, console */\n
/*global window, rJS, RSVP, StatelessJS, alert, FormData, document, console */\n
/*jslint maxlen:200, nomen: true */\n
<value>
<string>
/*global window, rJS, RSVP */\n
/*jslint nomen: true, indent: 2, maxerr: 3 */\n
(function (window, rJS, RSVP) {\n
"use strict";\n
\n
...
...
@@ -111,9 +109,9 @@
// declared methods\n
/////////////////////////////////////////////////////////////////\n
.declareMethod(\'render\', function (options) {\n
var gadget = this
;
\n
var form_options = options.erp5_form || {};
\n
var
search_options = {};\n
var gadget = this
,
\n
form_options = options.erp5_form || {},
\n
search_options = {};\n
\n
form_options.erp5_document = options.erp5_document;\n
form_options.form_definition = options.form_definition;\n
...
...
@@ -261,7 +259,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
sve
n
</string>
</value>
<value>
<string>
romai
n
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -275,7 +273,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.38886.21323.13414
</string>
</value>
<value>
<string>
93
7.42830.22069.25770
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -293,7 +291,7 @@
</tuple>
<state>
<tuple>
<float>
14
06887769.32
</float>
<float>
14
11054986.85
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_form_view_js.xml
View file @
a712c555
...
...
@@ -101,12 +101,9 @@
<key>
<string>
text_content
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
/*global rJS, RSVP, jQuery, Handlebars,\n
promiseEventListener, console */\n
/*jslint nomen: true */\n
/*global window, rJS, RSVP, StatelessJS, alert, FormData, document, console */\n
/*jslint maxlen:200, nomen: true */\n
(function (window, rJS, RSVP) {\n
/*global window, document, rJS, RSVP, Handlebars, loopEventListener */\n
/*jslint nomen: true, indent: 2, maxerr: 3 */\n
(function (window, document, rJS, RSVP, Handlebars, loopEventListener) {\n
"use strict";\n
\n
/////////////////////////////////////////////////////////////////\n
...
...
@@ -156,7 +153,7 @@
form_gadget = this,\n
promise_list = [],\n
i;\n
\n
\n
for (i = 0; i < action_list.length; i += 1) {\n
promise_list.push(this.whoWantToDisplayThisPage({\n
name: action_list[i].name\n
...
...
@@ -180,19 +177,19 @@
all_result = all_gadget[2],\n
actionlist = [],\n
class_list,\n
i
;\n
j
;\n
\n
form_options.erp5_document = options.erp5_document;\n
form_options.form_definition = options.form_definition;\n
form_options.view = options.view;\n
\n
\n
tab_options.erp5_document = options.erp5_document;\n
tab_options.form_definition = options.form_definition;\n
tab_options.view = options.view;\n
tab_options.action_view = options.action_view;\n
\n
for (
i = 0; i < all_result.length; i
+= 1) {\n
switch (
i
) {\n
for (
j = 0; j < all_result.length; j
+= 1) {\n
switch (
j
) {\n
case 0:\n
class_list = "ui-btn ui-first-child";\n
break;\n
...
...
@@ -205,14 +202,14 @@
}\n
actionlist.push({\n
class: class_list,\n
title: action_list[
i
].title,\n
link: all_result[
i],
\n
title: action_list[
j
].title,\n
link: all_result[
j]
\n
});\n
}\n
form_gadget.__element.appendChild(fragment);\n
form_gadget.__element.querySelector("div.ui-controlgroup-controls")\n
.innerHTML = workflow_template({actionlist: actionlist});\n
\n
\n
\n
return RSVP.all([\n
all_gadget[0].render(tab_options),\n
...
...
@@ -232,9 +229,9 @@
return erp5_form.getContent();\n
})\n
.push(function (data) {\n
data
["_id"]
= form_gadget.props.id;\n
data
._id
= form_gadget.props.id;\n
return form_gadget.aq_put(data, {"_view": form_gadget.props.view});\n
})\n
})
;
\n
}\n
\n
// Listen to form submit\n
...
...
@@ -246,7 +243,7 @@
);\n
});\n
\n
}(window,
rJS, RSVP
));
}(window,
document, rJS, RSVP, Handlebars, loopEventListener
));
]]>
</string>
</value>
</item>
...
...
@@ -369,7 +366,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
sve
n
</string>
</value>
<value>
<string>
romai
n
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -383,7 +380,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
937.
22215.35138.1590
6
</string>
</value>
<value>
<string>
937.
42837.59193.4022
6
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -401,7 +398,7 @@
</tuple>
<state>
<tuple>
<float>
14
09818069.12
</float>
<float>
14
11055410.1
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_frontpage_js.xml
View file @
a712c555
...
...
@@ -101,8 +101,8 @@
<key>
<string>
text_content
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
/*global
rJS, RSVP, Handlebars, initGadgetMixin
*/\n
/*jslint nomen: true */\n
/*global
window, rJS, RSVP, Handlebars
*/\n
/*jslint nomen: true
, indent: 2, maxerr: 3
*/\n
(function (window, rJS, RSVP, Handlebars) {\n
"use strict";\n
\n
...
...
@@ -143,7 +143,7 @@
/////////////////////////////////////////////////////////////////\n
// declared methods\n
/////////////////////////////////////////////////////////////////\n
.declareMethod("render", function (
options
) {\n
.declareMethod("render", function () {\n
var gadget = this;\n
\n
return gadget.jio_allDocs({\n
...
...
@@ -172,7 +172,7 @@
title: doc[1]\n
};\n
}\n
\n
\n
parameter_list.sort(function (a, b) {\n
var result = 0;\n
if (a.title < b.title) {\n
...
...
@@ -326,7 +326,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.39090.50399.1467
</string>
</value>
<value>
<string>
93
7.42839.47775.36010
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -344,7 +344,7 @@
</tuple>
<state>
<tuple>
<float>
14
07400113.3
</float>
<float>
14
11055530.72
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_pt_loginform_js.xml
View file @
a712c555
...
...
@@ -99,9 +99,9 @@
</item>
<item>
<key>
<string>
text_content
</string>
</key>
<value>
<string>
/*global
rJS, RSVP, Handlebars, initGadgetMixin
*/\n
/*jslint
nomen: true
*/\n
(function (window,
rJS, RSVP
) {\n
<value>
<string>
/*global
window, document, rJS, RSVP, promiseEventListener
*/\n
/*jslint
indent: 2, maxerr: 3
*/\n
(function (window,
document, rJS, RSVP, promiseEventListener
) {\n
"use strict";\n
\n
rJS(window)\n
...
...
@@ -129,7 +129,7 @@
/////////////////////////////////////////////////////////////////\n
// declared methods\n
/////////////////////////////////////////////////////////////////\n
.declareMethod("render", function (
options
) {\n
.declareMethod("render", function () {\n
return "ok";\n
})\n
\n
...
...
@@ -156,7 +156,7 @@
});\n
\n
});\n
}(window,
rJS, RSVP
));
</string>
</value>
}(window,
document, rJS, RSVP, promiseEventListener
));
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -291,7 +291,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.38838.60120.11025
</string>
</value>
<value>
<string>
93
7.42844.47051.28194
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -309,7 +309,7 @@
</tuple>
<state>
<tuple>
<float>
14
06886785.69
</float>
<float>
14
11055816.03
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_readonlyfield_js.xml
View file @
a712c555
...
...
@@ -99,8 +99,9 @@
</item>
<item>
<key>
<string>
text_content
</string>
</key>
<value>
<string>
/*global window, rJS, console, RSVP */\n
(function (rJS) {\n
<value>
<string>
/*global window, rJS */\n
/*jslint indent: 2, maxerr: 3 */\n
(function (window, rJS) {\n
"use strict";\n
\n
rJS(window)\n
...
...
@@ -120,7 +121,7 @@
return {};\n
});\n
\n
}(rJS));
</string>
</value>
}(
window,
rJS));
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -255,7 +256,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.35997.62527.57105
</string>
</value>
<value>
<string>
93
7.42715.45132.18756
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -273,7 +274,7 @@
</tuple>
<state>
<tuple>
<float>
14
06712967.57
</float>
<float>
14
11055878.45
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_searchfield_js.xml
View file @
a712c555
...
...
@@ -99,12 +99,12 @@
</item>
<item>
<key>
<string>
text_content
</string>
</key>
<value>
<string>
/*global
rJS, RSVP, jQuery, Handlebars, promiseEventListener, console
*/\n
/*jslint
maxlen:200, nomen: true
*/\n
(function (window, rJS, RSVP,
$
) {\n
<value>
<string>
/*global
window, rJS, RSVP, loopEventListener
*/\n
/*jslint
nomen: true, indent: 2, maxerr: 3
*/\n
(function (window, rJS, RSVP,
loopEventListener
) {\n
"use strict";\n
\n
rJS(window)\n
rJS(window)\n
/////////////////////////////////////////////////////////////////\n
// ready\n
/////////////////////////////////////////////////////////////////\n
...
...
@@ -142,8 +142,6 @@ rJS(window)\n
var search_form = this;\n
\n
function formSubmit() {\n
var form_data;\n
\n
return new RSVP.Queue()\n
.push(function () {\n
return search_form.getContent();\n
...
...
@@ -157,7 +155,7 @@ rJS(window)\n
return search_form.pleaseRedirectMyHash(url);\n
});\n
}\n
\n
\n
// Listen to form submit\n
return loopEventListener(\n
search_form.props.element.querySelector(\'form\'),\n
...
...
@@ -166,8 +164,8 @@ rJS(window)\n
formSubmit\n
);\n
});\n
\n
}(window, rJS, RSVP,
jQuery
));
</string>
</value>
\n
}(window, rJS, RSVP,
loopEventListener
));
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -288,7 +286,7 @@ rJS(window)\n
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
sve
n
</string>
</value>
<value>
<string>
romai
n
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -302,7 +300,7 @@ rJS(window)\n
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.57651.42687.62225
</string>
</value>
<value>
<string>
93
7.42848.57946.4044
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -320,7 +318,7 @@ rJS(window)\n
</tuple>
<state>
<tuple>
<float>
14
08012236.29
</float>
<float>
14
11056079.35
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_stringfield_js.xml
View file @
a712c555
...
...
@@ -99,8 +99,9 @@
</item>
<item>
<key>
<string>
text_content
</string>
</key>
<value>
<string>
/*global window, rJS, console, RSVP */\n
(function (rJS) {\n
<value>
<string>
/*global window, rJS */\n
/*jslint indent: 2, maxerr: 3 */\n
(function (window, rJS) {\n
"use strict";\n
\n
rJS(window)\n
...
...
@@ -133,7 +134,7 @@
return result;\n
});\n
\n
}(rJS));
</string>
</value>
}(
window,
rJS));
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -254,7 +255,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
sve
n
</string>
</value>
<value>
<string>
romai
n
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -268,7 +269,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.43448.36188.1109
</string>
</value>
<value>
<string>
93
7.42715.45132.18756
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -286,7 +287,7 @@
</tuple>
<state>
<tuple>
<float>
14
07160021.79
</float>
<float>
14
11056143.98
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_tab_list_js.xml
View file @
a712c555
...
...
@@ -101,12 +101,9 @@
<key>
<string>
text_content
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
/*global rJS, RSVP, jQuery, Handlebars,\n
promiseEventListener, console */\n
/*jslint nomen: true */\n
/*global window, rJS, RSVP, StatelessJS, alert, FormData, document, console */\n
/*jslint maxlen:200, nomen: true */\n
(function (window, rJS, RSVP, $) {\n
/*global window, rJS, Handlebars, RSVP */\n
/*jslint nomen: true, indent: 2, maxerr: 3 */\n
(function (window, rJS, Handlebars, RSVP) {\n
"use strict";\n
\n
/////////////////////////////////////////////////////////////////\n
...
...
@@ -147,7 +144,7 @@
// declared methods\n
/////////////////////////////////////////////////////////////////\n
.declareMethod(\'render\', function (options) {\n
var tab_gadget = this,
\n
var tab_gadget = this,\n
nav_element = tab_gadget.props.element.querySelector(".grid-container"),\n
erp5_document = options.erp5_document,\n
view_list = erp5_document._links[options.action_view],\n
...
...
@@ -167,7 +164,7 @@
for (i = 0; i
< view_list.length
;
i
+=
1)
{\n
promise_list.push(this.whoWantToDisplayThisPage({\n
name:
view_list[i].name\n
}));
\n
}));\n
}\n
return
new
RSVP.Queue()\n
.push(function
()
{\n
...
...
@@ -178,12 +175,12 @@
if
(view_list[i]
.name =
==
options.view)
{\n
nav_html
+=
active_navigation_template({\n
title:
view_list[i].title,\n
link:
all_result[i]
,
\n
link:
all_result[i]\n
});\n
}
else
{\n
nav_html
+=
navigation_template({\n
title:
view_list[i].title,\n
link:
all_result[i]
,
\n
link:
all_result[i]\n
});\n
}\n
\n
...
...
@@ -196,7 +193,7 @@
\n
});\n
\n
}(window, rJS,
RSVP, jQuery
));
}(window, rJS,
Handlebars, RSVP
));
]]>
</string>
</value>
</item>
...
...
@@ -319,7 +316,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
sve
n
</string>
</value>
<value>
<string>
romai
n
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -333,7 +330,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
937.
690.6828.44612
</string>
</value>
<value>
<string>
937.
42853.28217.34935
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -351,7 +348,7 @@
</tuple>
<state>
<tuple>
<float>
14
09818434.1
</float>
<float>
14
11056327.35
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_textareafield_js.xml
View file @
a712c555
...
...
@@ -99,8 +99,9 @@
</item>
<item>
<key>
<string>
text_content
</string>
</key>
<value>
<string>
/*global window, rJS, console, RSVP */\n
(function (rJS) {\n
<value>
<string>
/*global window, rJS */\n
/*jslint indent: 2, maxerr: 3 */\n
(function (window, rJS) {\n
"use strict";\n
\n
rJS(window)\n
...
...
@@ -131,7 +132,7 @@
return result;\n
});\n
\n
}(rJS));
</string>
</value>
}(
window,
rJS));
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -252,7 +253,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
sve
n
</string>
</value>
<value>
<string>
romai
n
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -266,7 +267,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.56200.16330.49493
</string>
</value>
<value>
<string>
93
7.42715.45132.18756
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -284,7 +285,7 @@
</tuple>
<state>
<tuple>
<float>
14
07925042.73
</float>
<float>
14
11056379.61
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_global_js.xml
View file @
a712c555
...
...
@@ -101,8 +101,8 @@
<key>
<string>
text_content
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
/*global RSVP, FileReader */\n
/*jslint unparam: true */\n
/*global
window,
RSVP, FileReader */\n
/*jslint
indent: 2, maxerr: 3,
unparam: true */\n
(function (window, RSVP, FileReader) {\n
"use strict";\n
\n
...
...
@@ -314,7 +314,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
<value>
<string>
romain
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -328,7 +328,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.16154.18438.49817
</string>
</value>
<value>
<string>
93
7.42855.7627.63982
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -346,7 +346,7 @@
</tuple>
<state>
<tuple>
<float>
14
05933455.07
</float>
<float>
14
11056451.0
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_jio_js.xml
View file @
a712c555
...
...
@@ -101,8 +101,9 @@
<key>
<string>
text_content
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
/*global rJS, jIO */\n
(function (rJS, jIO) {\n
/*global window, rJS, jIO */\n
/*jslint indent: 2, maxerr: 3 */\n
(function (window, rJS, jIO) {\n
"use strict";\n
\n
rJS(window)\n
...
...
@@ -156,7 +157,7 @@
return storage.post.apply(storage, arguments);\n
});\n
\n
}(rJS, jIO));
}(
window,
rJS, jIO));
]]>
</string>
</value>
</item>
...
...
@@ -279,7 +280,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
<value>
<string>
romain
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -293,7 +294,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
6.17267.5882.44902
</string>
</value>
<value>
<string>
93
7.42715.45132.18756
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -311,7 +312,7 @@
</tuple>
<state>
<tuple>
<float>
14
05933455.01
</float>
<float>
14
11056501.97
</float>
<string>
GMT
</string>
</tuple>
</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