Changeset 807
- Timestamp:
- 04/18/08 15:47:02 (3 months ago)
- Files:
-
- trunk/radiant/CHANGELOG (modified) (1 diff)
- trunk/radiant/public/javascripts/admin.js (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/radiant/CHANGELOG
r805 r807 2 2 3 3 === SVN 4 * All flash messages now fade after 3 seconds. [Sean Cribbs] 5 * Notice area now fades away after 3 seconds. [Andrew O'Brien] 4 6 * Update RSpec and RSpec on Rails to r3333. [Josh French] 5 7 * Add autotest support for Radiant and extensions. [Josh French] trunk/radiant/public/javascripts/admin.js
r806 r807 6 6 breadcrumb = $('page_breadcrumb'), 7 7 oldTitle = title.value; 8 8 9 9 if (!slug || !breadcrumb) return; 10 10 11 11 new Form.Element.Observer(title, 0.15, function() { 12 12 if (oldTitle.toSlug() == slug.value) slug.value = title.value.toSlug(); … … 18 18 when('tab-control', function(element) { 19 19 tabControl = new TabControl(element); 20 20 21 21 $$('#pages div.part > input[type=hidden]:first-child').each(function(part, index) { 22 22 var page = part.up('.page'); … … 29 29 when('tag-reference-popup', function(popup) { 30 30 var tags, searchingOn = ""; 31 31 32 32 new Form.Element.Observer('search-tag-reference', 0.5, function(element, value) { 33 33 if (!tags) tags = popup.select('.tag-description') 34 34 35 35 if (value.length < 3 && searchingOn != "") { 36 36 searchingOn = ""; … … 49 49 }); 50 50 }); 51 51 52 52 when('page_status_id', function(select){ 53 53 if($F('page_status_id') == '100') 54 54 $('publication-date').show().select('select').invoke('enable'); 55 55 56 56 select.observe('change', function(){ 57 57 if($F(this) == '100') … … 63 63 64 64 when('notice', function(notice) { 65 new Effect.Fade(notice, {delay: 3}) 65 new Effect.Fade(notice, {delay: 3}); 66 }); 67 68 when('error', function(error) { 69 new Effect.Fade(error, {delay: 3}); 66 70 }); 67 71 }); … … 73 77 return element.nodeValue.include(word); 74 78 } else { 75 return $A(element.childNodes).any(function(child) { 76 return Element.hasWord(child, word); 79 return $A(element.childNodes).any(function(child) { 80 return Element.hasWord(child, word); 77 81 }); 78 82 }
