Changeset 2329add


Ignore:
Timestamp:
Mar 13, 2012 11:46:21 AM (3 years ago)
Author:
yomguy <yomguy@…>
Branches:
master, crem, crem2, crem3, dev, dev2, diadems, dj1.6, feature/breadcrumbs, feature/ts-0.5, feature/ts-0.5.4, feature/writecache, forma, generic, instru_search, lam, lam2, mapsv3, merge, nlivemulti, production, release/1.4.4, sabiod, search, security, server, social, storage, telecaster, test
Children:
0073410
Parents:
dd763818
git-author:
yomguy <yomguy@…> (13/03/2012 11:46:21)
git-committer:
yomguy <yomguy@…> (13/03/2012 11:46:21)
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • telemeta/htdocs/js/playlist.js

    r461ebfc r2329add  
    9393        return new String(d.getTime() + '' + Math.floor(Math.random() * 1000000)).substr(0, 18); 
    9494    }, 
     95 
    9596    add : function(dictionary){ 
    9697 
    9798        if(dictionary.public_id===undefined){ 
    98             dictionary.public_id = this.uniqid(); //defined in application.js 
     99            dictionary.public_id = this.uniqid(); 
    99100        } 
    100101        if(dictionary.user===undefined){ 
     
    106107        }); 
    107108    }, 
    108      
     109 
    109110    remove: function(id){ 
    110111        json([id],'telemeta.del_playlist',function(){ 
     
    131132        var dd = {}; 
    132133        var playlist = this; 
    133          
     134 
    134135        var playlists = this.playlists; 
    135136        for (var i=0; i< playlists.length; i++){ 
     
    139140            } 
    140141        } 
    141          
     142 
    142143        new PopupDiv({ 
    143144            'content':dd, 
     
    157158        }).show(); 
    158159    }, 
    159      
     160 
    160161    /*shows the popup for adding a resource to a playlist*/ 
    161162    showAddResourceToPlaylist: function(anchorElement, resourceType, objectId, optionalOkMessage){ 
     
    166167        } 
    167168        var pl = this; 
    168          
     169 
    169170        if(!ar.length){ 
    170171            pl.showAdd(anchorElement); 
    171172        } 
    172          
     173 
    173174        //var addFcn = this.addResourceToPlaylist; 
    174175        new PopupDiv({ 
     
    178179                var val = data.selIndex; 
    179180                var callbackok = undefined; 
    180                      
     181 
    181182                if(optionalOkMessage){ 
    182183                    callbackok = function(){ 
Note: See TracChangeset for help on using the changeset viewer.