소스 검색

[minor] clear headline

version-14
Rushabh Mehta 8 년 전
부모
커밋
242bfa421f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      frappe/public/js/legacy/form.js

+ 1
- 0
frappe/public/js/legacy/form.js 파일 보기

@@ -459,6 +459,7 @@ _f.Frm.prototype.refresh = function(docname) {
_f.Frm.prototype.show_if_needs_refresh = function() {
if(this.doc.__needs_refresh) {
if(this.doc.__unsaved) {
this.dashboard.clear_headline();
this.dashboard.set_headline_alert(__("This form has been modified after you have loaded it")
+ '<a class="btn btn-xs btn-primary pull-right" onclick="cur_frm.reload_doc()">'
+ __("Refresh") + '</a>', "alert-warning");


불러오는 중...
취소
저장