Add sortability to custom profile fields form
This commit is contained in:
		
					parent
					
						
							
								9bc78efe68
							
						
					
				
			
			
				commit
				
					
						cc007f715d
					
				
			
		
					 8 changed files with 61 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -7,6 +7,7 @@ use Friendica\Core\Hook;
 | 
			
		|||
use Friendica\Core\Protocol;
 | 
			
		||||
use Friendica\Core\Renderer;
 | 
			
		||||
use Friendica\Core\Session;
 | 
			
		||||
use Friendica\Core\Theme;
 | 
			
		||||
use Friendica\Core\Worker;
 | 
			
		||||
use Friendica\Database\DBA;
 | 
			
		||||
use Friendica\DI;
 | 
			
		||||
| 
						 | 
				
			
			@ -162,6 +163,9 @@ class Index extends BaseSettingsModule
 | 
			
		|||
 | 
			
		||||
		$a = DI::app();
 | 
			
		||||
 | 
			
		||||
		DI::page()->registerFooterScript('view/asset/es-jquery-sortable/source/js/jquery-sortable-min.js');
 | 
			
		||||
		DI::page()->registerFooterScript(Theme::getPathForFile('js/module/settings/profile/index.js'));
 | 
			
		||||
 | 
			
		||||
		$custom_fields = [];
 | 
			
		||||
 | 
			
		||||
		$profileFields = DI::profileField()->selectByUserId(local_user());
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue