diff models/extractapp.php @ 61:c6fa7f83c5bf extractapp

New: 1.display messages(style) 2.handle saving conflict:up-to-date or reload text
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Tue, 31 Mar 2015 12:34:57 +0200
parents 3239979f6673
children 3fb9e3884401
line wrap: on
line diff
--- a/models/extractapp.php	Tue Mar 31 11:58:26 2015 +0200
+++ b/models/extractapp.php	Tue Mar 31 12:34:57 2015 +0200
@@ -342,7 +342,7 @@
 
         } else if ($status == "error") {
             // saving not success
-            $this->messages['warning'] .= "[Warning] Saving Failed! ".(string)$response["message"]."<br>";
+            $this->messages['error'] .= "[Error] Saving Failed! ".(string)$response["message"]."<br>";
             $this->messages['warning'] .= "[Warning] Please check branch ".$this->branch_id." in LGService, and modify from the latest version. <br>";
 
             /*