- Fix error on IE9 on sharing ...

This commit is contained in:
Paulo Gustavo Veiga 2012-09-19 23:12:47 -03:00
parent 9cbb6eadc2
commit 7c4f500361

View File

@ -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);