# HG changeset patch # User Zoe Hong # Date 1427795906 -7200 # Node ID 3239979f667373016a1497b94341b479a5df9f88 # Parent 6e44605eb4f69dbe67fee40578c40f7715dd55c4 New: 1.display messages(style) 2.handle saving conflict:up-to-date or reload text diff -r 6e44605eb4f6 -r 3239979f6673 models/extractapp.php --- a/models/extractapp.php Tue Mar 31 11:32:25 2015 +0200 +++ b/models/extractapp.php Tue Mar 31 11:58:26 2015 +0200 @@ -261,6 +261,7 @@ $this->messages['info'] .= "[Info] book name: ".$this->book_name; $this->messages['info'] .= ", section id: ". $this->section_id; $this->messages['info'] .= ", branch id: ".$this->branch_id; + $this->messages['info'] .= ", file id: ".$this->file_id; $this->messages['info'] .= "
"; /* diff -r 6e44605eb4f6 -r 3239979f6673 views/Extractapp/TaggingText.php --- a/views/Extractapp/TaggingText.php Tue Mar 31 11:32:25 2015 +0200 +++ b/views/Extractapp/TaggingText.php Tue Mar 31 11:58:26 2015 +0200 @@ -166,6 +166,7 @@ el.stop().animate({'top':finaldestination},0); }); + // --- handle old version taglist --- var _GET = JSON.parse(''); if (_GET['id']) { @@ -211,25 +212,9 @@ } - handleFileVersionConflict(); - /* - // Popup choosing topic if first time to this section. without branch_id - if (info['file_id'] == 0) { // or info['branch_id'] == 0, means new file - // ask to choose topic - $.ajax({ - - }); - var popup = document.getElementById('popup-window'); - - // alert('choose topic!'); - } - */ - - - }); $(document).on("click", "name", function (e) { @@ -931,13 +916,12 @@ -
+

- +

-