[the-board] [ui] Save page when multiple things are moved around
- From: Lucas Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board] [ui] Save page when multiple things are moved around
- Date: Thu, 10 Mar 2011 04:13:02 +0000 (UTC)
commit c8b30a7fe9bf1eb1e5cc62d72996e1e1d1723876
Author: Lucas Rocha <lucasr gnome org>
Date: Wed Mar 9 23:07:18 2011 -0500
[ui] Save page when multiple things are moved around
https://bugzilla.gnome.org/show_bug.cgi?id=644336
src/js/ui/page.js | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/js/ui/page.js b/src/js/ui/page.js
index 06fb102..561e563 100644
--- a/src/js/ui/page.js
+++ b/src/js/ui/page.js
@@ -777,6 +777,12 @@ Page.prototype = {
},
_onThingDragEnd : function(thing) {
+ let saveThing = function(thingToSave) {
+ thingToSave.emit("save");
+ };
+
+ this._selectedThings.forEach(saveThing);
+
if (this._activeThing !== thing) {
thing.actor.lower(this._dimBox);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]