PagePart widgets for "system widget"

Delete useless code
This commit is contained in:
chris committed 2013-10-28 16:29:23 +08:00
1 parent 218cb03641
commit a14d69211b
46 files changed
+303 -913

No files matched your search

@@ -189,7 +189,7 @@ function pageSetting(id, edit) {
});
$pageCategoryGroup.show();
}
if(val.tag.length > 0) {
if(val.tags.length > 0) {
$.each(val.tags, function(index, val) {
var _arr = $.inArray($(this)[1], _selectData.module.tags[1]);
$pageTags.append('<label class="checkbox"><input type="checkbox" name="page[tag][]" value="'+ $(this)[1] + '">'+ $(this)[0] +'</label>');
@@ -371,6 +371,7 @@ $(function() {
$(this).children("option:selected").each(function () {
var _val = $(this).val();
$subSelete.empty();
$pageCount.empty();
if(_val) {
$.each(_data, function(index, val) {
if(_val == val.main[1]) {
@@ -42,6 +42,7 @@ $(function() {
$(this).children("option:selected").each(function () {
var _val = $(this).val();
$subSelete.empty();
$pageCount.empty();
if(_val) {
$.each(_data, function(index, val) {
if(_val == val.main[1]) {