Sounds like a good idea, go for it.

On Sat, May 24, 2014 at 6:19 AM, Josh Cartmell <joshcar...@gmail.com> wrote:

> I think this sounds really cool, I've definitely wanted to do things along
> these lines before.
>
>
> On Fri, May 23, 2014 at 4:08 PM, Ahmad Khayyat <akhay...@gmail.com> wrote:
>
>> T​​
>> o complete the thought, here is what I’m doing now with what I described
>> earlier:
>>
>>  diff --git a/mezzanine/pages/static/mezzanine/js/admin/page_tree.js 
>> b/mezzanine/pages/static/mezzani--- 
>> a/mezzanine/pages/static/mezzanine/js/admin/page_tree.js+++ 
>> b/mezzanine/pages/static/mezzanine/js/admin/page_tree.js@@ -91,7 +91,10 @@
>>
>>          $.post(window.__page_ordering_url, args, function(data) {
>>              if (String(data).substr(0, 2) !== "ok") {-                
>> alert("Error occured: " + data + "\nOrdering wasn't updated.");+             
>>    location.reload();+            }+            else {+                
>> $(".messagelist").remove();
>>              }
>>          });
>>
>> This will result in the page tree being reverted if the page move is
>> aborted. Also, a django-messages error message is shown (done elsewhere
>> right now, but ideally should be done in the admin_page_ordering view.
>> Upon a successful page move, the message is reset.
>> ​
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Mezzanine Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to mezzanine-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mezzanine-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Stephen McDonald
http://jupo.org

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to