We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 39f605a + ce5c812 commit f22a30bCopy full SHA for f22a30b
source-code/app/src/main/java/org/buildmlearn/toolkit/activity/TemplateEditor.java
@@ -676,6 +676,10 @@ private String saveProject() {
676
Toast.makeText(this, "Unable to perform action: No Data", Toast.LENGTH_SHORT).show();
677
return null;
678
}
679
+ if (selectedTemplate.getItems(doc).get(0).getTagName().equals("item") && (templateId == 5 || templateId == 7)) {
680
+ Toast.makeText(this, "Unable to perform action: Add Meta Details", Toast.LENGTH_SHORT).show();
681
+ return null;
682
+ }
683
for (Element item : selectedTemplate.getItems(doc)) {
684
dataElement.appendChild(item);
685
0 commit comments