Template:SendMessageUser
Template:SendMessageUserEdit

    Tabla de contenidos
    No hay encabezados
        <div id="timeline-add-response" init=(var username = $0 ?? $username ?? user.name;)>
            // includes
            dekiapi();
            jquery.ui('smoothness');
    
            // input form
            <form>
                "Envíame un mensaje: ";
                <br /><textarea id="todowhat" type="text" style="width:60%;height:50px;"></textarea><br />
                <input type="hidden" id="todowho" value=(username) />
                <input id="todoadd" type="button" value="Enviar" ctor="
                    when($this.click) {
                        @todosend({ entry: { what: #todowhat.val(), who: #todowho.val()}});
                        #todowhat.val('');
                        #todoadd.val('Send');
                        #todoadd.blur();
                    }
                    when(@todosend) {
                        Deki.Api.PostMessage(null, 'activity/poke', 
                            '@'+ @todosend.entry.who+': '+ @todosend.entry.what );
                    }
                " />      
            </form>
        </div>


     

    Etiquetas (Edit tags)
    • No tags
    Debe inicie sesión para enviar un comentario.