* yavsc.js: factorize some javascript
* InputCircle.cs: this class is about to be removed * BlogsController.cs: removes Html used as text * App.master: removes the bsd css class script * Circles.aspx: fixes the Javascript circle selection * Index.aspx: * AssemblyInfo.aspx: `Indexe` is not a french word, sorry for the trouble * Web.csproj: includes yavsc Javascript in the project * LocalizedText.Designer.cs: alphabetic order in ressource names * LocalizedText.resx: * alphabetic order in ressource names * RegisterModel.cs: disposes a duplicated resource string "UserName" (uses now User_name) * style.css: panels float left
This commit is contained in:
parent
13a6753614
commit
17f57d5542
15 changed files with 230 additions and 223 deletions
23
web/Scripts/yavsc.js
Normal file
23
web/Scripts/yavsc.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
|
||||
function showHide() {
|
||||
var id = $(this).attr('did');
|
||||
var target = $('#'+id);
|
||||
if (target.hasClass('hidden')) {
|
||||
target.removeClass('hidden');
|
||||
if (typeof this.oldhtml == "undefined")
|
||||
this.oldhtml = $(this).html();
|
||||
$(this).html('['+this.oldhtml+']');
|
||||
}
|
||||
else {
|
||||
target.addClass('hidden');
|
||||
$(this).html(this.oldhtml);
|
||||
}
|
||||
}
|
||||
|
||||
function message(msg) {
|
||||
if (msg) {
|
||||
$("#msg").removeClass("hidden");
|
||||
$("#msg").text(msg);
|
||||
} else { $("#msg").addClass("hidden"); } }
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue