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
Léo-Paul Géneau
erp5
Commits
f63dcfc7
Commit
f63dcfc7
authored
Oct 30, 2024
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_monitoring: fix delete opml loop bug
parent
57049ef9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
11 deletions
+15
-11
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_opml_delete_js.js
...m/web_page_module/gadget_erp5_page_ojsm_opml_delete_js.js
+5
-8
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_opml_delete_js.xml
.../web_page_module/gadget_erp5_page_ojsm_opml_delete_js.xml
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/monitoring_jio_storage_js.js
...TemplateItem/web_page_module/monitoring_jio_storage_js.js
+7
-0
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/monitoring_jio_storage_js.xml
...emplateItem/web_page_module/monitoring_jio_storage_js.xml
+1
-1
No files found.
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_opml_delete_js.js
View file @
f63dcfc7
...
@@ -10,23 +10,20 @@
...
@@ -10,23 +10,20 @@
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareAcquiredMethod
(
"
jio_remove
"
,
"
jio_remove
"
)
.
declareAcquiredMethod
(
"
jio_remove
"
,
"
jio_remove
"
)
.
declareAcquiredMethod
(
"
notifySubmitting
"
,
"
notifySubmitting
"
)
.
declareAcquiredMethod
(
"
notifySubmitted
"
,
'
notifySubmitted
'
)
.
declareAcquiredMethod
(
"
notifySubmitted
"
,
'
notifySubmitted
'
)
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
;
var
gadget
=
this
;
return
gadget
.
jio_remove
(
options
.
jio_key
)
return
gadget
.
notifySubmitting
()
.
push
(
function
()
{
return
gadget
.
jio_remove
(
options
.
jio_key
);
})
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
notifySubmitted
({
message
:
"
Document Deleted
"
,
status
:
"
success
"
});
return
gadget
.
notifySubmitted
({
message
:
"
Document Deleted
"
,
status
:
"
success
"
})
},
function
(
error
)
{
return
gadget
.
notifySubmitted
({
message
:
error
.
message
,
status
:
"
error
"
})
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
redirect
({
command
:
'
change
'
,
options
:
{
return
gadget
.
redirect
({
command
:
'
change
'
,
options
:
{
page
:
options
.
return_url
||
'
settings_configurator
'
page
:
options
.
return_url
||
'
settings_configurator
'
}});
}});
});
});
});
}
,
{
mutex
:
'
render
'
}
);
}(
window
,
rJS
));
}(
window
,
rJS
));
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_opml_delete_js.xml
View file @
f63dcfc7
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
10
16.7854.16646.24046
</string>
</value>
<value>
<string>
10
20.22291.41890.38485
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -280,7 +280,7 @@
...
@@ -280,7 +280,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
17
13981022.3
8
</float>
<float>
17
30318970.2
8
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/monitoring_jio_storage_js.js
View file @
f63dcfc7
...
@@ -257,6 +257,13 @@
...
@@ -257,6 +257,13 @@
});
});
}
}
return
removeOPMLTree
(
id
);
return
removeOPMLTree
(
id
);
},
function
(
error
)
{
if
(
error
&&
error
.
status_code
===
404
)
{
//opml already removed
return
;
}
else
{
throw
error
;
}
});
});
};
};
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/monitoring_jio_storage_js.xml
View file @
f63dcfc7
...
@@ -269,7 +269,7 @@
...
@@ -269,7 +269,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
17
27445979.03
</float>
<float>
17
30318820.81
</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