Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1006468 // renameSnippet

JavaX fragment (include)

static S renameSnippet(S id, S title) {
  if (isLocalSnippetID(id)) ret "Renamed" with setLocalSnippetTitle(id, title);
  ret postPageWithCredentials(tb_mainServer() + "/tb-int/update_snippet_title.php",
    id := parseSnippetID(id), +title);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1006468
Snippet name: renameSnippet
Eternal ID of this version: #1006468/6
Text MD5: 902745fff03408624bb3119efd94187b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-20 14:58:45
Source code size: 248 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 600 / 622
Version history: 5 change(s)
Referenced in: #1006474 - renameProgram - rename yourself!
#1006587 - setSnippetTitle_verbose
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1016180 - setSnippetType