|
|
@@ -79,6 +79,17 @@ public class DetailActionModel extends DetailBaseModel{
|
|
|
subActionModel.remoteActionType = remoteActionType;
|
|
|
}
|
|
|
|
|
|
+ boolean alert = action.optBoolean("alert");
|
|
|
+ if (alert) {
|
|
|
+
|
|
|
+ String alertTitle = action.optString("alertTitle");
|
|
|
+ String alertMsg = action.optString("alertMsg");
|
|
|
+
|
|
|
+ subActionModel.alertTitle = alertTitle;
|
|
|
+ subActionModel.alertMsg = alertMsg;
|
|
|
+ }
|
|
|
+ subActionModel.alert = alert;
|
|
|
+
|
|
|
|
|
|
|
|
|
this.actions.add(subActionModel);
|