| author | hamidouk |
| Wed, 23 Nov 2011 15:16:28 +0100 | |
| branch | popcorn-port |
| changeset 311 | 43a1b7d95317 |
| parent 296 | 10ecc65d945c |
| child 331 | ef3447aa6920 |
| permissions | -rw-r--r-- |
| 109 | 1 |
IriSP.PlayerWidget = function(Popcorn, config, Serializer) { |
2 |
IriSP.Widget.call(this, Popcorn, config, Serializer); |
|
|
145
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
3 |
|
|
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
4 |
this._searchBlockOpen = false; |
|
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
5 |
this._searchLastValue = ""; |
| 109 | 6 |
}; |
| 115 | 7 |
|
8 |
IriSP.PlayerWidget.prototype = new IriSP.Widget(); |
|
9 |
||
| 98 | 10 |
IriSP.PlayerWidget.prototype.draw = function() { |
| 153 | 11 |
var self = this; |
| 131 | 12 |
var width = this.width; |
13 |
var height = this.height; |
|
14 |
var heightS = this.height-20; |
|
|
261
7e7a44d82a81
positionned correctly the search box - its position is now calculated in function
hamidouk
parents:
255
diff
changeset
|
15 |
|
|
251
116c86db7e17
got rid of the radio and video templates - replaced them with the player.htm
hamidouk
parents:
250
diff
changeset
|
16 |
var Player_templ = Mustache.to_html(IriSP.player_template, {"share_template" : IriSP.share_template}); |
|
116c86db7e17
got rid of the radio and video templates - replaced them with the player.htm
hamidouk
parents:
250
diff
changeset
|
17 |
this.selector.append(Player_templ); |
| 98 | 18 |
|
|
250
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
19 |
this.selector.children(".Ldt-controler").width(width - 10); |
| 98 | 20 |
|
|
250
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
21 |
this.selector.children(".Ldt-controler").show(); |
| 153 | 22 |
|
|
202
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
23 |
// handle clicks by the user on the video. |
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
24 |
this._Popcorn.listen("play", IriSP.wrap(this, this.playButtonUpdater)); |
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
25 |
this._Popcorn.listen("pause", IriSP.wrap(this, this.playButtonUpdater)); |
|
255
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
26 |
this._Popcorn.listen("timeupdate", IriSP.wrap(this, this.timeDisplayUpdater)); |
|
202
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
27 |
|
|
250
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
28 |
|
|
311
43a1b7d95317
WIP - integrating the various changes samuel requested.
hamidouk
parents:
296
diff
changeset
|
29 |
this.selector.find(".Ldt-CtrlPlay").click(function() { self.playHandler.call(self); }); |
|
43a1b7d95317
WIP - integrating the various changes samuel requested.
hamidouk
parents:
296
diff
changeset
|
30 |
this.selector.find(".Ldt-CtrlNext").click(function() { }); |
|
43a1b7d95317
WIP - integrating the various changes samuel requested.
hamidouk
parents:
296
diff
changeset
|
31 |
this.selector.find(".Ldt-CtrlSearch").click(function() { self.searchButtonHandler.call(self); }); |
|
250
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
32 |
|
|
311
43a1b7d95317
WIP - integrating the various changes samuel requested.
hamidouk
parents:
296
diff
changeset
|
33 |
this.selector.find('.Ldt-CtrlSound').click(function() { self.muteHandler.call(self); } ); |
|
43a1b7d95317
WIP - integrating the various changes samuel requested.
hamidouk
parents:
296
diff
changeset
|
34 |
|
|
43a1b7d95317
WIP - integrating the various changes samuel requested.
hamidouk
parents:
296
diff
changeset
|
35 |
this.selector.find(".Ldt-CtrlPlay").attr( "style", "background-color:#CD21C24;" ); |
|
250
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
36 |
|
|
311
43a1b7d95317
WIP - integrating the various changes samuel requested.
hamidouk
parents:
296
diff
changeset
|
37 |
var searchButtonPos = this.selector.find(".Ldt-CtrlSearch").position(); |
|
261
7e7a44d82a81
positionned correctly the search box - its position is now calculated in function
hamidouk
parents:
255
diff
changeset
|
38 |
var searchBox = Mustache.to_html(IriSP.search_template, {margin_left : searchButtonPos.left + "px"}); |
|
7e7a44d82a81
positionned correctly the search box - its position is now calculated in function
hamidouk
parents:
255
diff
changeset
|
39 |
this.selector.append(searchBox); |
|
7e7a44d82a81
positionned correctly the search box - its position is now calculated in function
hamidouk
parents:
255
diff
changeset
|
40 |
|
|
255
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
41 |
}; |
|
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
42 |
|
|
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
43 |
/* Update the elasped time div */ |
|
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
44 |
IriSP.PlayerWidget.prototype.timeDisplayUpdater = function() { |
| 98 | 45 |
|
|
255
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
46 |
if (this._previousSecond === undefined) |
|
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
47 |
this._previousSecond = this._Popcorn.roundTime(); |
| 98 | 48 |
|
|
255
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
49 |
else { |
|
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
50 |
/* we're still in the same second, so it's not necessary to update time */ |
|
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
51 |
if (this._Popcorn.roundTime() == this._previousSecond) |
|
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
52 |
return; |
|
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
53 |
|
| 98 | 54 |
} |
|
255
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
55 |
|
|
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
56 |
// we get it at each call because it may change. |
| 296 | 57 |
var duration = +this._serializer.currentMedia().meta["dc:duration"] / 1000; |
|
255
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
58 |
var totalTime = IriSP.secondsToTime(duration); |
|
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
59 |
var elapsedTime = IriSP.secondsToTime(this._Popcorn.currentTime()); |
|
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
60 |
|
|
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
61 |
var timeTemplate = "{{hours}}:{{minutes}}:{{seconds}}"; |
|
295
be44f374549e
the total time of the video is now grayed out, as per samuel's spec.
hamidouk
parents:
261
diff
changeset
|
62 |
this.selector.find(".Ldt-ElapsedTime").html(Mustache.to_html(timeTemplate, elapsedTime)); |
|
be44f374549e
the total time of the video is now grayed out, as per samuel's spec.
hamidouk
parents:
261
diff
changeset
|
63 |
this.selector.find(".Ldt-TotalTime").html(Mustache.to_html(timeTemplate, totalTime)); |
|
255
af3adcf7cb20
added an elapsed time display to the player widget.
hamidouk
parents:
251
diff
changeset
|
64 |
this._previousSecond = this._Popcorn.roundTime(); |
| 98 | 65 |
}; |
66 |
||
|
202
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
67 |
/* update the icon of the button - separate function from playHandler |
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
68 |
because in some cases (for instance, when the user directly clicks on |
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
69 |
the jwplayer window) we have to change the icon without playing/pausing |
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
70 |
*/ |
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
71 |
IriSP.PlayerWidget.prototype.playButtonUpdater = function() { |
| 98 | 72 |
var status = this._Popcorn.media.paused; |
73 |
|
|
74 |
if ( status == true ){ |
|
|
163
3ecb643627de
some conversions to use this.selector.find instead of .children().
hamidouk
parents:
154
diff
changeset
|
75 |
this.selector.find(".ui-icon-play").css( "background-position", "-16px -160px" ); |
|
311
43a1b7d95317
WIP - integrating the various changes samuel requested.
hamidouk
parents:
296
diff
changeset
|
76 |
this.selector.find(".Ldt-CtrlPlay").attr("title", "Play"); |
| 98 | 77 |
} else { |
|
163
3ecb643627de
some conversions to use this.selector.find instead of .children().
hamidouk
parents:
154
diff
changeset
|
78 |
this.selector.find(".ui-icon-play").css( "background-position","0px -160px" ); |
|
311
43a1b7d95317
WIP - integrating the various changes samuel requested.
hamidouk
parents:
296
diff
changeset
|
79 |
this.selector.find(".Ldt-CtrlPlay").attr("title", "Pause"); |
| 98 | 80 |
} |
81 |
}; |
|
82 |
||
|
202
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
83 |
|
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
84 |
IriSP.PlayerWidget.prototype.playHandler = function() { |
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
85 |
var status = this._Popcorn.media.paused; |
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
86 |
|
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
87 |
this.playButtonUpdater(); |
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
88 |
|
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
89 |
if ( status == true ){ |
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
90 |
this._Popcorn.play(); |
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
91 |
} else { |
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
92 |
this._Popcorn.pause(); |
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
93 |
} |
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
94 |
}; |
|
2e0205ee7ca9
patch to respond to update the player widget when the user clicks directly on
hamidouk
parents:
163
diff
changeset
|
95 |
|
| 98 | 96 |
IriSP.PlayerWidget.prototype.muteHandler = function() { |
97 |
if (!this._Popcorn.muted()) { |
|
98 |
this._Popcorn.mute(true); |
|
|
163
3ecb643627de
some conversions to use this.selector.find instead of .children().
hamidouk
parents:
154
diff
changeset
|
99 |
this.selector.find(" .ui-icon-volume-on ").css("background-position", "-130px -160px"); |
| 98 | 100 |
} else { |
101 |
this._Popcorn.mute(false); |
|
|
163
3ecb643627de
some conversions to use this.selector.find instead of .children().
hamidouk
parents:
154
diff
changeset
|
102 |
this.selector.find( ".ui-icon-volume-on" ).css("background-position", "-144px -160px" ); |
| 98 | 103 |
} |
104 |
}; |
|
105 |
||
|
145
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
106 |
IriSP.PlayerWidget.prototype.searchButtonHandler = function() { |
|
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
107 |
var self = this; |
|
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
108 |
|
|
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
109 |
/* show the search field if it is not shown */ |
|
261
7e7a44d82a81
positionned correctly the search box - its position is now calculated in function
hamidouk
parents:
255
diff
changeset
|
110 |
if ( this._searchBlockOpen == false ) { |
|
145
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
111 |
this.selector.find( ".ui-icon-search" ).css( "background-position", "-144px -112px" ); |
|
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
112 |
|
|
250
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
113 |
this.selector.find(".LdtSearch").show(100); |
|
145
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
114 |
|
|
250
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
115 |
this.selector.find(".LdtSearchInput").css('background-color','#fff'); |
|
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
116 |
this.selector.find(".LdtSearchInput").focus(); |
|
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
117 |
this.selector.find(".LdtSearchInput").attr('value', this._searchLastValue); |
|
151
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
118 |
this._Popcorn.trigger("IriSP.search", this._searchLastValue); // trigger the search to make it more natural. |
|
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
119 |
|
|
145
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
120 |
this._searchBlockOpen = true; |
|
250
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
121 |
this.selector.find(".LdtSearchInput").bind('keyup', null, function() { self.searchHandler.call(self); } ); |
|
151
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
122 |
|
|
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
123 |
// tell the world the field is open |
|
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
124 |
this._Popcorn.trigger("IriSP.search.open"); |
|
145
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
125 |
|
|
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
126 |
} else { |
|
250
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
127 |
this._searchLastValue = this.selector.find(".LdtSearchInput").attr('value'); |
|
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
128 |
this.selector.find(".LdtSearchInput").attr('value',''); |
|
145
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
129 |
this.selector.find(".ui-icon-search").css("background-position","-160px -112px"); |
|
250
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
130 |
this.selector.find(".LdtSearch").hide(100); |
|
145
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
131 |
|
|
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
132 |
// unbind the watcher event. |
|
250
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
133 |
this.selector.find(".LdtSearchInput").unbind('keypress set'); |
|
145
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
134 |
this._searchBlockOpen = false; |
|
151
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
135 |
|
|
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
136 |
this._Popcorn.trigger("IriSP.search.closed"); |
|
145
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
137 |
} |
|
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
138 |
}; |
|
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
139 |
|
|
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
140 |
/* this handler is called whenever the content of the search |
|
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
141 |
field changes */ |
|
b477c9430d36
tests and implementation of the search button for the player.
hamidouk
parents:
131
diff
changeset
|
142 |
IriSP.PlayerWidget.prototype.searchHandler = function() { |
|
250
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
143 |
this._searchLastValue = this.selector.find(".LdtSearchInput").attr('value'); |
|
154
6e115a094858
another tweak to the searchBox : the visualization is cleared when the searchbox
hamidouk
parents:
153
diff
changeset
|
144 |
|
|
6e115a094858
another tweak to the searchBox : the visualization is cleared when the searchbox
hamidouk
parents:
153
diff
changeset
|
145 |
// do nothing if the search field is empty, instead of highlighting everything. |
|
6e115a094858
another tweak to the searchBox : the visualization is cleared when the searchbox
hamidouk
parents:
153
diff
changeset
|
146 |
if (this._searchLastValue == "") { |
|
6e115a094858
another tweak to the searchBox : the visualization is cleared when the searchbox
hamidouk
parents:
153
diff
changeset
|
147 |
this._Popcorn.trigger("IriSP.search.cleared"); |
|
6e115a094858
another tweak to the searchBox : the visualization is cleared when the searchbox
hamidouk
parents:
153
diff
changeset
|
148 |
} else { |
|
6e115a094858
another tweak to the searchBox : the visualization is cleared when the searchbox
hamidouk
parents:
153
diff
changeset
|
149 |
this._Popcorn.trigger("IriSP.search", this._searchLastValue); |
|
6e115a094858
another tweak to the searchBox : the visualization is cleared when the searchbox
hamidouk
parents:
153
diff
changeset
|
150 |
} |
|
151
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
151 |
}; |
|
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
152 |
|
|
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
153 |
/* |
|
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
154 |
handler for the IriSP.search.found message, which is sent by some views when they |
|
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
155 |
highlight a match. |
|
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
156 |
*/ |
|
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
157 |
IriSP.PlayerWidget.prototype.searchMatch = function() { |
|
250
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
158 |
this.selector.find(".LdtSearchInput").css('background-color','#e1ffe1'); |
|
151
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
159 |
} |
|
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
160 |
|
|
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
161 |
/* the same, except that no value could be found */ |
|
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
162 |
IriSP.PlayerWidget.prototype.searchNoMatch = function() { |
|
250
41683e7cb17a
updated the playerWidget to use classes instead of id's in its elements.
hamidouk
parents:
226
diff
changeset
|
163 |
this.selector.find(".LdtSearchInput").css('background-color','#e1ffe1'); |
|
151
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
164 |
} |
|
dc2ff4c87490
some tweaking to make the search function more user-friendly.
hamidouk
parents:
145
diff
changeset
|
165 |