MCPcopy Create free account
hub / github.com/error311/FileRise / openCreateFileModal

Function openCreateFileModal

public/js/fileActions.js:553–563  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

551 * Open the “New File” modal
552 */
553export function openCreateFileModal() {
554 const modal = document.getElementById('createFileModal');
555 const input = document.getElementById('createFileNameInput');
556 if (!modal || !input) {
557 console.error('Create-file modal or input not found');
558 return;
559 }
560 input.value = '';
561 modal.style.display = 'block';
562 setTimeout(() => input.focus(), 0);
563}
564
565
566export async function handleCreateFile(e) {

Callers 2

menuClickDelegateFunction · 0.85
fileActions.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected