diff --git a/public/javascripts/wechat/others/factory.js b/public/javascripts/wechat/others/factory.js
index 2c32a81e2..190dd36b4 100644
--- a/public/javascripts/wechat/others/factory.js
+++ b/public/javascripts/wechat/others/factory.js
@@ -324,13 +324,23 @@ app.factory('common', ['$http', 'auth', '$routeParams','rms','config','wx','$loc
});
};
- args.scope.clickReply = function(act_id,allchidren) {
+ args.scope.inputfocus = function(data){
+ data.notshow = true;
+ };
+
+ args.scope.inputblur = function(data){
+ data.notshow = false;
+ };
+
+ args.scope.clickReply = function(act_id,data) {
+ allchidren = data.all_children;
for(var i in allchidren){
if(allchidren[i].act_id != act_id ){
allchidren[i].showinput = false;
}
else{
allchidren[i].showinput = !allchidren[i].showinput;
+ data.notshow = allchidren[i].showinput;
}
}
};