mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
create tag item on left list
This commit is contained in:
parent
3f2c687643
commit
49d9820a44
@ -258,8 +258,14 @@ $(function () {
|
|||||||
$("#newFolderBtn").click(
|
$("#newFolderBtn").click(
|
||||||
function () {
|
function () {
|
||||||
$("#new-folder-dialog-modal").dialogForm({
|
$("#new-folder-dialog-modal").dialogForm({
|
||||||
//redirect:"c/maps/{header.resourceId}/edit",
|
url:"c/restful/labels",
|
||||||
//url:"c/restful/maps"
|
postUpdate: function (data) {
|
||||||
|
$("#foldersContainer").find("ul").append(
|
||||||
|
$("<li data-filter=\"" + data.title + "\">").append(
|
||||||
|
"<a href=\"#\"> <i class=\"icon-tag\"></i>" + data.title + "</a>"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -313,13 +313,12 @@
|
|||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="errorMessage"></div>
|
<div class="errorMessage"></div>
|
||||||
<form class="form-horizontal">
|
<form class="form-horizontal">
|
||||||
<fieldset>
|
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label" for="newLabelTitle"><spring:message code="NAME"/>:</label>
|
<label class="control-label" for="newLabelTitle"><spring:message code="NAME"/>:</label>
|
||||||
<input class="control" name="title" id="newLabelTitle" type="text" required="required"
|
<input class="control" name="title" id="newLabelTitle" type="text" required="required"
|
||||||
placeholder="<spring:message code="LABEL_NAME_HINT"/>" autofocus="autofocus" maxlength="255"/>
|
placeholder="<spring:message code="LABEL_NAME_HINT"/>" autofocus="autofocus" maxlength="255"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-label">
|
<!--div class="control-label">
|
||||||
<input id="parentLblCheckbox" type="checkbox">
|
<input id="parentLblCheckbox" type="checkbox">
|
||||||
<label for="parentLblCheckbox" style="display: inline-block"><spring:message code="PARENT_LABEL"/>:</label>
|
<label for="parentLblCheckbox" style="display: inline-block"><spring:message code="PARENT_LABEL"/>:</label>
|
||||||
</div>
|
</div>
|
||||||
@ -329,8 +328,8 @@
|
|||||||
<option value="2">-> Child</option>
|
<option value="2">-> Child</option>
|
||||||
<option value="3">-> Child2</option>
|
<option value="3">-> Child2</option>
|
||||||
<option value="4">Dummy</option>
|
<option value="4">Dummy</option>
|
||||||
</select>
|
</select-->
|
||||||
</fieldset>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
|
Loading…
Reference in New Issue
Block a user