equal
deleted
inserted
replaced
61 _model.on("change remove", function(_model) { |
61 _model.on("change remove", function(_model) { |
62 _checkLeave(); |
62 _checkLeave(); |
63 }); |
63 }); |
64 _checkLeave(); |
64 _checkLeave(); |
65 }); |
65 }); |
66 $(".Rk-Save-Button").click(function() { |
66 _renkan.renderer.save = function() { |
67 if ($(this).hasClass("disabled")) { |
67 if ($(".Rk-Save-Button").hasClass("disabled")) { |
68 if (!_proj.get("title")) { |
68 if (!_proj.get("title")) { |
69 $(".Rk-PadTitle").css("border-color","#ff0000"); |
69 $(".Rk-PadTitle").css("border-color","#ff0000"); |
70 } |
70 } |
71 } else { |
71 } else { |
72 _save(); |
72 _save(); |
73 } |
73 } |
74 }); |
74 } |
75 }; |
75 }; |