Changeset 879
- Timestamp:
- 12/11/06 11:49:38 (2 years ago)
- Files:
-
- branches/wheeljack/lib/MT/App/CMS.pm (modified) (1 diff)
- branches/wheeljack/tmpl/cms/list_tags.tmpl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/wheeljack/lib/MT/App/CMS.pm
r878 r879 682 682 my $class = $app->_load_driver_for($type) or return; 683 683 if ($tag && $blog_id) { 684 require MT::Entry;685 684 require MT::ObjectTag; 686 685 my $count = MT::ObjectTag->count({ 687 datasource => $class->datasource,686 object_datasource => $class->datasource, 688 687 blog_id => $blog_id, 689 688 tag_id => $tag->id branches/wheeljack/tmpl/cms/list_tags.tmpl
r613 r879 56 56 57 57 function submit_edit(id) { 58 if ((0 != current_edit) && (id != current_edit)) 59 id = current_edit; 58 60 // if old name matches new name, ignore submission (same as cancel) 59 61 // if new name is already in our tagList array, warn user … … 123 125 submit_edit_form(id); 124 126 } 127 } else { 128 submit_edit_form(id); 125 129 } 126 130 } else {
