mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 22:27:55 +01:00
- Fix error on IE9 on sharing ...
This commit is contained in:
parent
9cbb6eadc2
commit
7c4f500361
@ -132,7 +132,7 @@ function addCollaboration(email, role, changeType) {
|
|||||||
|
|
||||||
// Register change role event ...
|
// Register change role event ...
|
||||||
var rowElem = $("#collabsTable tr:last");
|
var rowElem = $("#collabsTable tr:last");
|
||||||
$(rowElem.find(".dropdown-menu a").click(function () {
|
$(rowElem.find(".dropdown-menu a").click(function (event) {
|
||||||
reportError(null);
|
reportError(null);
|
||||||
var role = onClickShare(this);
|
var role = onClickShare(this);
|
||||||
rowElem.attr('data-role', role);
|
rowElem.attr('data-role', role);
|
||||||
@ -175,7 +175,7 @@ $(function () {
|
|||||||
return a.role <= b.role;
|
return a.role <= b.role;
|
||||||
});
|
});
|
||||||
|
|
||||||
// Add all the colums in the table ...
|
// Add all the columns in the table ...
|
||||||
for (var i = 0; i < collabs.length; i++) {
|
for (var i = 0; i < collabs.length; i++) {
|
||||||
var collab = collabs[i];
|
var collab = collabs[i];
|
||||||
addCollaboration(collab.email, collab.role);
|
addCollaboration(collab.email, collab.role);
|
||||||
|
Loading…
Reference in New Issue
Block a user