Skip to content

Commit

Permalink
Revert "[mms] Rate-limit filters drag/drop changes to prevent race co…
Browse files Browse the repository at this point in the history
…nditions (Bug #13819)."

This reverts commit c521c26.

Not needed anymore - race-conditions have been fixed by accessing rules
by UIDs instead of filter position
  • Loading branch information
slusarz committed Feb 24, 2015
1 parent 7416f09 commit af9d504
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 38 deletions.
2 changes: 0 additions & 2 deletions ingo/docs/CHANGES
Expand Up @@ -11,8 +11,6 @@ v3.3.0-git
v3.2.4
------

[mms] Rate-limit filters drag/drop changes to prevent race conditions (Bug
#13819).
[mms] Fix filter drag/drop ordering working in basic view (Bug #13820).
[mms] Maildir requires UTF7-IMAP encoding for folder names (Bug #13378).

Expand Down
18 changes: 0 additions & 18 deletions ingo/js/filters.js
Expand Up @@ -24,28 +24,10 @@ var IngoFilters = {
Horde.stripeElement('filterslist');
},
onUpdate: function() {
$('filtersSave').clonePosition('filterslist').appear({
duration: 0.2
});

HordeCore.doAction(
'reSortFilters',
{
sort: Object.toJSON(Sortable.sequence('filterslist'))
},
{
callback: function() {
/* Need to re-label the IDs to reflect new
* sort order. */
var i = 0,
rows = $('filterslist').select('DIV.filtersRow');
rows.invoke('writeAttribute', 'id', null);
rows.each(function(r) {
r.writeAttribute('id', 'filtersrow_' + (i++));
});

$('filtersSave').fade({ duration: 0.2 });
}
}
);
},
Expand Down
1 change: 0 additions & 1 deletion ingo/package.xml
Expand Up @@ -1567,7 +1567,6 @@
<date>2014-12-03</date>
<license uri="http://www.horde.org/licenses/apache">ASL</license>
<notes>
* [mms] Rate-limit filters drag/drop changes to prevent race conditions (Bug #13819).
* [mms] Fix filter drag/drop ordering working in basic view (Bug #13820).
* [mms] Maildir requires UTF7-IMAP encoding for folder names (Bug #13378).
</notes>
Expand Down
4 changes: 0 additions & 4 deletions ingo/templates/basic/filters/filters.html.php
Expand Up @@ -103,7 +103,3 @@
</p>
</form>
<?php endif; ?>

<div id="filtersSave" style="display:none">
<span><?php echo _("Saving...") ?></span>
</div>
13 changes: 0 additions & 13 deletions ingo/themes/default/screen.css
Expand Up @@ -27,19 +27,6 @@
color: red;
}

#filtersSave {
background-color: rgba(0,0,0,0.35);
position: absolute;
z-index: 100;
}
#filtersSave span {
background-color: #ddd;
left: 15px;
padding: 5px;
position: absolute;
top: 15px;
}

/* Rules page. */
#rule select {
padding: 2px;
Expand Down

0 comments on commit af9d504

Please sign in to comment.