Commits

Zemian Deng committed 78852df

Fixed Save action did not refresh file list.

  • Participants
  • Parent commits 6020a2b

Comments (0)

Files changed (1)

File webnotepad/src/main/webapp/WEB-INF/groovy/notepad.groovy

 			file = new File(notesDir, noteFilename)
 			log("Saving new note: $file")
 			file.write(notes)
+			noteFiles = notesDir.listFiles().sort()
 		} else {
 			msg = 'Notes is empty. Nothing is saved.'
 		}