Put inc/ajax_setting in new_admin
Fix callback for link on save
This commit is contained in:
		
							parent
							
								
									ef72a2330c
								
							
						
					
					
						commit
						d0b030c47d
					
				|  | @ -17,3 +17,4 @@ | |||
| //= require side_bar_history
 | ||||
| //= require rss
 | ||||
| //= require ajax_form
 | ||||
| //= require inc/ajax_setting
 | ||||
|  |  | |||
|  | @ -13,7 +13,7 @@ class Link < Item | |||
|   protected | ||||
| 
 | ||||
| 	def add_http | ||||
| 	  unless self.url[/^http?s:\/\//] | ||||
| 	  unless self.url[/^http:\/\//] || self.url[/^https:\/\//] | ||||
| 	    self.url = 'http://' + self.url | ||||
| 	  end | ||||
| 	end | ||||
|  |  | |||
|  | @ -9,7 +9,6 @@ | |||
| 	<![endif]--> | ||||
| 	<%= stylesheet_link_tag "new_admin" %> | ||||
| 	<%= javascript_include_tag "new_admin" %> | ||||
| 	<%= javascript_include_tag "inc/ajax_setting"  %> | ||||
| 	<%= yield :page_specific_css %> | ||||
| 	<%= yield :page_specific_javascript %> | ||||
| 	<%= csrf_meta_tag %> | ||||
|  |  | |||
|  | @ -217,6 +217,10 @@ en: | |||
|     options: Options | ||||
|     orig_upload_file: Original filename | ||||
|     page: Page | ||||
|     page_context: | ||||
|       edit: Edit | ||||
|       ob_auth: | ||||
|         edit: Category authorization | ||||
|     page_part_kinds: | ||||
|       text: Text Area | ||||
|       public_r_tag: System Widget | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue