Gitlab CSE Unil
Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
M. Chardon
ADIM
Commits
4e2987a6
Commit
4e2987a6
authored
Mar 07, 2018
by
M. Chardon
Browse files
résolution bug marqueur : erreur ordre listener
parent
f13d7103
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
adim_project/adim_app/static/_src/adim/ui.js
View file @
4e2987a6
...
...
@@ -1587,6 +1587,7 @@ function($, _, Signal, paper, config, view, io, tools, attributes, Users, export
* @param event
*/
function
onPropertyChange
(
event
)
{
$
(
this
).
addClass
(
"
focus
"
);
updateSelectedItemProp
(
event
.
data
.
pName
);
}
...
...
@@ -1621,8 +1622,13 @@ function($, _, Signal, paper, config, view, io, tools, attributes, Users, export
if
(
_
.
isFunction
(
pDef
.
onChange
))
{
elem
.
on
(
'
change
'
,
pDef
.
onChange
);
}
else
{
var
elemBtn
=
elem
.
find
(
"
.btn-cat
"
);
if
(
elemBtn
)
{
elem
.
find
(
"
.btn-cat
"
).
on
(
'
change
'
,
null
,
{
pName
:
pName
},
onPropertyChange
);
}
else
{
elem
.
on
(
'
change
'
,
null
,
{
pName
:
pName
},
onPropertyChange
);
}
}
if
(
_
.
isFunction
(
pDef
[
'
onBlur
'
]))
{
elem
.
on
(
'
blur
'
,
pDef
[
'
onBlur
'
]);
...
...
adim_project/adim_app/static/js/anodate_app.min.js
View file @
4e2987a6
...
...
@@ -31060,6 +31060,7 @@ function($, _, Signal, paper, config, view, io, tools, attributes, Users, export
* @param event
*/
function onPropertyChange(event) {
$(this).addClass("focus");
updateSelectedItemProp(event.data.pName);
}
...
...
@@ -31094,8 +31095,13 @@ function($, _, Signal, paper, config, view, io, tools, attributes, Users, export
if (_.isFunction(pDef.onChange)) {
elem.on('change', pDef.onChange);
} else {
var elemBtn = elem.find(".btn-cat");
if (elemBtn) {
elem.find(".btn-cat").on('change', null, {pName: pName}, onPropertyChange);
}else{
elem.on('change', null, {pName: pName}, onPropertyChange);
}
}
if (_.isFunction(pDef['onBlur'])) {
elem.on('blur', pDef['onBlur']);
adim_project/adim_app/static/js/cimaf_analysis.min.js
View file @
4e2987a6
...
...
@@ -31062,6 +31062,7 @@ function($, _, Signal, paper, config, view, io, tools, attributes, Users, export
* @param event
*/
function onPropertyChange(event) {
$(this).addClass("focus");
updateSelectedItemProp(event.data.pName);
}
...
...
@@ -31096,8 +31097,13 @@ function($, _, Signal, paper, config, view, io, tools, attributes, Users, export
if (_.isFunction(pDef.onChange)) {
elem.on('change', pDef.onChange);
} else {
var elemBtn = elem.find(".btn-cat");
if (elemBtn) {
elem.find(".btn-cat").on('change', null, {pName: pName}, onPropertyChange);
}else{
elem.on('change', null, {pName: pName}, onPropertyChange);
}
}
if (_.isFunction(pDef['onBlur'])) {
elem.on('blur', pDef['onBlur']);
adim_project/adim_app/static/js/cimaf_app.min.js
View file @
4e2987a6
...
...
@@ -31060,6 +31060,7 @@ function($, _, Signal, paper, config, view, io, tools, attributes, Users, export
* @param event
*/
function onPropertyChange(event) {
$(this).addClass("focus");
updateSelectedItemProp(event.data.pName);
}
...
...
@@ -31094,8 +31095,13 @@ function($, _, Signal, paper, config, view, io, tools, attributes, Users, export
if (_.isFunction(pDef.onChange)) {
elem.on('change', pDef.onChange);
} else {
var elemBtn = elem.find(".btn-cat");
if (elemBtn) {
elem.find(".btn-cat").on('change', null, {pName: pName}, onPropertyChange);
}else{
elem.on('change', null, {pName: pName}, onPropertyChange);
}
}
if (_.isFunction(pDef['onBlur'])) {
elem.on('blur', pDef['onBlur']);
adim_project/adim_app/static/js/geomo_app.min.js
View file @
4e2987a6
...
...
@@ -31060,6 +31060,7 @@ function($, _, Signal, paper, config, view, io, tools, attributes, Users, export
* @param event
*/
function onPropertyChange(event) {
$(this).addClass("focus");
updateSelectedItemProp(event.data.pName);
}
...
...
@@ -31094,8 +31095,13 @@ function($, _, Signal, paper, config, view, io, tools, attributes, Users, export
if (_.isFunction(pDef.onChange)) {
elem.on('change', pDef.onChange);
} else {
var elemBtn = elem.find(".btn-cat");
if (elemBtn) {
elem.find(".btn-cat").on('change', null, {pName: pName}, onPropertyChange);
}else{
elem.on('change', null, {pName: pName}, onPropertyChange);
}
}
if (_.isFunction(pDef['onBlur'])) {
elem.on('blur', pDef['onBlur']);
adim_project/adim_app/static/js/newao_app.min.js
View file @
4e2987a6
This diff is collapsed.
Click to expand it.
adim_project/adim_app/static/js/su_app.min.js
View file @
4e2987a6
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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